Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I assume the measure that is in the visualization is an average-measure.
Please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Expected result measure: =
SWITCH (
TRUE (),
NOT ISFILTERED ( Category[Category] ) && ISFILTERED ( 'Product'[Product] ), AVERAGE ( Data[Value] ),
ISFILTERED ( Category[Category] ) && ISFILTERED ( 'Product'[Product] ), AVERAGE ( Data[Value] ),
SUM ( Data[Value] )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
I assume the measure that is in the visualization is an average-measure.
Please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
I hope the below can provide some ideas on how to create a solution for your datamodel.
Expected result measure: =
SWITCH (
TRUE (),
NOT ISFILTERED ( Category[Category] ) && ISFILTERED ( 'Product'[Product] ), AVERAGE ( Data[Value] ),
ISFILTERED ( Category[Category] ) && ISFILTERED ( 'Product'[Product] ), AVERAGE ( Data[Value] ),
SUM ( Data[Value] )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
User | Count |
---|---|
47 | |
44 | |
19 | |
14 | |
14 |
User | Count |
---|---|
107 | |
57 | |
29 | |
20 | |
16 |