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 August 31st. Request your voucher.
Hi
What is the formula to know the dynamic percentage of selected row in a table ?
Imagine I have a table with 10 rows.
When i don't select anything, my measure is 100%.
When I select something (concerning for exemple 2 rows), I want to have 20% as result measure.
I'm trying with Countrow/CountA but it is not dynamic, and always display 100 %.
Thanks,
Alex
Thanks by advance,
Alex
Solved! Go to Solution.
Hi @Ade1991 ,
You can try to create measure like DAX below.
Measure1= DIVIDE(COUNTROWS(ALLSELECTED(table1)),COUNTROWS(ALL(table1)))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Ade1991 ,
Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hi @Ade1991 ,
You can try to create measure like DAX below.
Measure1= DIVIDE(COUNTROWS(ALLSELECTED(table1)),COUNTROWS(ALL(table1)))
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
78 | |
74 | |
42 | |
32 | |
28 |
User | Count |
---|---|
104 | |
93 | |
52 | |
50 | |
46 |