Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hello everyone,
I am wanting to do a count of a specific column that is the result of a Measure that results in a TEXT:
Detail:
and what I want to do is a count of how many times FA appears in that calculation/column
Solved! Go to Solution.
Good morning.
Thanks for responding.
It did not work, because the comlumna of [Farmacia Más Alta], is the result of an Expression (measure, Calculation), which using COUNT (I needed a COUNTIF of an expression) was not going to work according to the suggested formula.
Which solution was solved in two steps:
1) First step; Count per row, which the formula is: FA> = IF([Highest Pharmacy]="FA",1,0)
2) Second step; Add those counts with: Measure= SUMX(ALLSELECTED(Data[Product]),Calc_FA[FA>])
This solved the problem for me, I hope it will serve you all.
Hi @OlmatrixHN504 ,
You can create a measure to count like
Count FA = COUNTROWS(FILTER(ALLSELECTED('Table'),[Highest Pharmacy]="FA"))
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Good morning.
Thanks for responding.
It did not work, because the comlumna of [Farmacia Más Alta], is the result of an Expression (measure, Calculation), which using COUNT (I needed a COUNTIF of an expression) was not going to work according to the suggested formula.
Which solution was solved in two steps:
1) First step; Count per row, which the formula is: FA> = IF([Highest Pharmacy]="FA",1,0)
2) Second step; Add those counts with: Measure= SUMX(ALLSELECTED(Data[Product]),Calc_FA[FA>])
This solved the problem for me, I hope it will serve you all.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |