cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hariram2
Frequent Visitor

In my power Bi report in card visual it is showing(Blank) ,I should replace that (Blank ) to 0.

Hi ,

 

I am creating a report from azure devops.

 

For active tasks i have created a card, but it is showing (Blank)

 

Now for me it should show "o" instead od (Blank)

 

Plesae suggest anyone??

 

hariram2_0-1656954203136.png

 

1 ACCEPTED SOLUTION

Hi,

 

i got a solution.

 

thank you for the help

 

hariram2_3-1657180392958.png

 

View solution in original post

5 REPLIES 5
hariram2
Frequent Visitor

Thanks for the replay

 

here my table name is append,in that having workitem,state

 

in that workitem having(task,bug)

also state having(active,inprogress)

 

so here i need to get active tasks 

 

plz help

Hi @hariram2 ,

 

I create the sample data.

 

vkkfmsft_0-1657174711727.png

 

Then please create the measure.

 

Measure = 
COALESCE (
    COUNTROWS (
        FILTER ( 'Table', 'Table'[state] = "active" && 'Table'[workitem] = "task" )
    ),
    0
)

vkkfmsft_1-1657174756142.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi,

 

Thanks for your help.

 

That measure is working for me

 

But issue is now if no taks is not there means showing Blank

 

But for me it could show '0" instead of blank

 

hariram2_0-1657179041419.png

 

hariram2_1-1657179087421.pnghariram2_2-1657179112076.png

 

Hi,

 

i got a solution.

 

thank you for the help

 

hariram2_3-1657180392958.png

 

ITManuel
Helper V
Helper V

Hi @hariram2 ,

 

please try 

 

IF ( ISBLANK ( "Active Task measure/logic"), "o")

 

Best regards

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Dev Camp Session 26

Check it Out!

Mark your calendars and join us on Thursday, September 29 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors