Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi Team,
I have a requirement where i have to display Failed and Error count on card visuals.
and the logic I got for Failed count is
Solved! Go to Solution.
Hi @SushmaReddy
Thanks for reaching out to us.
>> I have a requirement where i have to display Failed and Error count on card visuals.
You can try this split operation, it will contain the number of your errors
ErrorCount = CALCULATE(DISTINCTCOUNT(T1[Attribute]),T1[Status]="Failed")
FailedCount = CALCULATE(DISTINCTCOUNT(T1[Date]),T1[Status]="Failed")
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi @SushmaReddy
Thanks for reaching out to us.
>> I have a requirement where i have to display Failed and Error count on card visuals.
You can try this split operation, it will contain the number of your errors
ErrorCount = CALCULATE(DISTINCTCOUNT(T1[Attribute]),T1[Status]="Failed")
FailedCount = CALCULATE(DISTINCTCOUNT(T1[Date]),T1[Status]="Failed")
result
Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
did you split column in PQ?
based on the sample data, i think you can use count and distinctcount to get 2 and 1.
Proud to be a Super User!
Yes the column is splitted in PQ and i tried using count and distinct count but it didn't work...
maybe you can try this
Proud to be a Super User!
User | Count |
---|---|
98 | |
76 | |
74 | |
50 | |
27 |