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
My Question is :
Actually, this is what I have, Forumula used for Ratio :
Solved! Go to Solution.
Hi, @saitks99 , pls try this
Ratio =
CALCULATE ( SUM ( Query1[RenewalCount] ), Query1[EligibleTrackingDay] = 10 )
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi, @saitks99 , pls try this
Ratio =
CALCULATE ( SUM ( Query1[RenewalCount] ), Query1[EligibleTrackingDay] = 10 )
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
This worked, what is the difference with FILTER then ?
Hi, @saitks99 , in fact, it's EVALUATION CONTEXT which is in play here. I recommend a classic blog by Jeffrey Wang unveiling some essential details in this regard.
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Hi @saitks99 ,
You can also try this:
Ratio = CALCULATE(SUM(Query1[RenewalCount]),FILTER(ALLSELECTED(Query1),Query1[EligibleTrackingDay] = 10))
It should work the same as what @CNENFRNL mentioned.
Best Regards,
Icey
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.