- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Card View
Hello. I am beginner in Powerbi and have one question.
How to show in Card "0" if there is no row and data at all in table when filtering in Report view? I am filtering by slicer in Report view and some items dont have data records in table and at the moment Card shows as "(Blank)" for those items. I need them to show as 0.
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @NK2603 ,
Thanks to @_AAndrade for the solution.
Here are what i want to add:
Sample Data
Create measures
Measure 2 =
IF(
COUNT('Table'[Value]) = 0,
0,
COUNT('Table'[Value])
)
Measure 3 =
IF(
ISBLANK(
SELECTEDVALUE('Table'[Value])
),
0,
COUNT('Table'[Value])
)
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @NK2603 ,
Thanks to @_AAndrade for the solution.
Here are what i want to add:
Sample Data
Create measures
Measure 2 =
IF(
COUNT('Table'[Value]) = 0,
0,
COUNT('Table'[Value])
)
Measure 3 =
IF(
ISBLANK(
SELECTEDVALUE('Table'[Value])
),
0,
COUNT('Table'[Value])
)
Final output
Best regards,
Albert He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Hi @NK2603,
Try somethinh with IF formula, for example:
IF ( COUNTROWS( Name of your table) = 0, 0)
Did I answer your question? Mark my post as a solution! Kudos are welcome.
Proud to be a Super User!

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
03-04-2025 11:31 AM | |||
02-13-2025 08:32 AM | |||
12-10-2024 06:40 AM | |||
12-18-2024 09:13 PM | |||
09-24-2024 05:53 AM |