The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello everyone, I have the followin measure.
But after I remove the filter and show all year the number changes and it is incorret, how can I'm able to keep the correct percent for all years?
The corret is 31% not 7 %
PS: I'm using the year into the small multiple.
Solved! Go to Solution.
Hi @Anonymous, something like this should work:
DIVIDE(
SUM(SOA[Avg_Rat])
, CALCULATE(SUM(SOA[Avg_Rat]), ALLSELECTED(SOA[Owner]))
)
It sums Avg_Rat as affected by all attributes (Owner, Yes) and divides that by the sum of Avg_Rat across all Owners but still affected by Yes.
Hi,
Have you followed the DAX formula posted by Russell-PBI to find the solution to your problem?
If so, would you like to mark his reply as a solution so that others can learn from it too?
Thanks in advance!
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Yes I did, already selected as a solution
Hi @Anonymous, something like this should work:
DIVIDE(
SUM(SOA[Avg_Rat])
, CALCULATE(SUM(SOA[Avg_Rat]), ALLSELECTED(SOA[Owner]))
)
It sums Avg_Rat as affected by all attributes (Owner, Yes) and divides that by the sum of Avg_Rat across all Owners but still affected by Yes.
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |