Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi !
My data link:-https://www.dropbox.com/s/qww6kbl4ytb70aw/Count%20rows.pbix?dl=0
I want to count rows on the basis of a measure made out of if condition.
My condition will return L, C, E and need to count them that how many country falls under each.
I used this measure to count rows:-
Thanks in advance !
Solved! Go to Solution.
Hi,
Try this measure
COUNTROWS(FILTER(SUMMARIZE(GENERATE(VALUES(MSR[ctry_nm]),VALUES(MSR[brnd_nm])),MSR[ctry_nm],MSR[brnd_nm],"ABCD",[LCE Brand View]),[ABCD]="L"))
Hi,
Try this measure
Measure = COUNTROWS(FILTER(SUMMARIZE(MSR,MSR[brnd_nm],MSR[ctry_nm],"ABCD",[LCE Brand View]),[ABCD]="E"))
Hi,
I have no idea why. As you can clearly see, in the file that you uploaded, my formula is giving the correct result.
Hi @Ashish_Mathur
Kindly check the dashboard for once.
https://www.dropbox.com/s/imw6h6mspnufty5/Count%20rows.pbix?dl=0
Numbers are showing blank or wrong !
Thanks in advance !
Hi,
Try this measure
COUNTROWS(FILTER(SUMMARIZE(GENERATE(VALUES(MSR[ctry_nm]),VALUES(MSR[brnd_nm])),MSR[ctry_nm],MSR[brnd_nm],"ABCD",[LCE Brand View]),[ABCD]="L"))
@souvik900766 , Try a measure like
E Count Brand View = COUNTROWS(FILTER(MSR,[LCE Brand View]="E"))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
24 | |
20 | |
15 | |
13 |
User | Count |
---|---|
55 | |
48 | |
43 | |
19 | |
19 |