Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
hariram2
Helper I
Helper I

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
Helper I
Helper I

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
Responsive Resident
Responsive Resident

Hi @hariram2 ,

 

please try 

 

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

 

Best regards

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.