Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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] )
)
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] )
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 9 | |
| 9 | |
| 8 |