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! Request now
Hello world!
I'm unable to get around this issue and wanted to post it here to see if the community can provide some answers.
I have a star schema data model, where the Measure sits in the Fact table. On the dashboard, all 8 filters come from dimension tables
The Measure in question calculates the MEDIAN of a column after the filters are applied. This meausure is used on two visuals
1) Card Visual
2) Clustered Column Visual
Card Visual has only one field and that is the Measure(which calculated the median)
Clustered column has the same measure and on the x-axis also has the column coming from one of the dimension tables to seggrate by location.
Here is the formula -
Thanks for looking into this Rico.
To clarify, [Local...Area Name] is coming from another dimension table.
What more is found out is that, when I change fact_table from direct query mode to import mode, the values match.
Hi @Anonymous ,
Does [Local...Area Name] column from FACT_TEST table or other related tables?
As far as I know, In Clustered Column Visual or Table visual, the measure will return result based on the area name, and in subtotal, it will return result based on whole table. This is caused by your data model.
If you want 1.3 as result in your report, you can try removefilters function.
Measure =
CALCULATE (
MEDIAN ( FACT_TEST[collection_to_repo_minutes] ),
REMOVEFILTERS ( 'TableName'[Local...Area Name] )
) / 60
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.