Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I have measure:
% Starts = SUM(STREAMS[Playlist Starts]) / SUMX(ALL(STREAMS),[Playlist Starts])
When the table this column appears in is filtered on another dimension, say [date] the denominator acts like its not affected by the filter but the numerator is.
How do I change this formula to get the correct results?
Solved! Go to Solution.
Hi @StephenF,
Try this one, please. The structure of your mode is the key point.
% Starts = SUM ( STREAMS[Playlist Starts] ) / CALCULATE ( SUMX ( STREAMS, [Playlist Starts] ), ALLEXCEPT ( STREAMS, STREAMS[date] ) )
Best Regards,
Dale
Hi @StephenF,
Try this one, please. The structure of your mode is the key point.
% Starts = SUM ( STREAMS[Playlist Starts] ) / CALCULATE ( SUMX ( STREAMS, [Playlist Starts] ), ALLEXCEPT ( STREAMS, STREAMS[date] ) )
Best Regards,
Dale
Hi @StephenF
What exactly are the "correct results" that you wish? Your code acting is acting as it should
I wish for the denominator to be filtered.
But then you'll always get a 1, won't you? What would be the difference between the numerator and the denominator then?
Yes it will be 1 but it will be correct for that table. The % Total needs to be local to the table object not global.
Consider the following end result as example
Filter: Date=yesterday
Dim1 %Total
dimA 66%
dimB 32%
dimC 2%
Total 100%
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!