The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!