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,
Could you please help me or indicate me if there is a way to get the % of column total for a measure based in calculation group and calculation items for 2 different months as following:
I need a formula to get the same value that % of column total is getting but since it is calculation group I am having a hard time,
Solved! Go to Solution.
Hi @Kikemx90 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure 2 =
DIVIDE(
COUNTX(FILTER(ALLSELECTED('Table'),'Table'[CONTR ACCOUNT Period]=MAX('Table'[CONTR ACCOUNT Period])&&'Table'[Group]=MAX('Table'[Group])),[Amount]),
COUNTX(ALL('Table'),[Amount]))
2. Result:
If you need pbix, please click here.
% of column total for measure in formula for calculation group.pbix
If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Kikemx90 ,
I created some data:
Here are the steps you can follow:
1. Create measure.
Measure 2 =
DIVIDE(
COUNTX(FILTER(ALLSELECTED('Table'),'Table'[CONTR ACCOUNT Period]=MAX('Table'[CONTR ACCOUNT Period])&&'Table'[Group]=MAX('Table'[Group])),[Amount]),
COUNTX(ALL('Table'),[Amount]))
2. Result:
If you need pbix, please click here.
% of column total for measure in formula for calculation group.pbix
If I have misunderstood your meaning, please provide your desired output and your pbix without privacy information.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
User | Count |
---|---|
15 | |
13 | |
9 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
9 | |
5 |