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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
StuartSmith
Power Participant
Power Participant

Measure for Table Visual to Display Column Values

I have a table visual currently with 3 columns.

 

Region = Data Table Column

Within 35 Days = Measure that divides the number of rows with a specific value by the total number of rows.

KPI Status = Measure that displays "Expected KPI Met" or "KPI Breached" depending on  value of "Winth 35 Days" Measure.

StuartSmith_0-1698416819490.png

But I want the "Region" column not to display the Region names if there are no rows.

StuartSmith_1-1698416986043.png

So instead of having the "Region" column using the "Region" column called 

"Table: MSIP Time to Fill SLA'[Region]" for the Data Table, I have been trying to create a measure something like...

 

Test =
VAR CountTimeToFillRows = COUNTROWS('Table: MSIP Time to Fill SLA')
Return
IF(CountTimeToFillRows = 0, " ", {Display Region Names})
 
But I can get it to work.  Is this possible and if so, how?
Thanks in advance.
1 ACCEPTED SOLUTION
Nilupul
Frequent Visitor

Try like this:
Create a measure as below to check values are available to the measure

 

Is Data Available = IF(ISBLANK([KPI Status]) && ISBLANK([Within 35 Days]) , 0,1)

 

Then put this measure as a visual level filter . After that filter with is 1.  

If is blank not work try with [KPI Status] = ""

View solution in original post

2 REPLIES 2
Nilupul
Frequent Visitor

Try like this:
Create a measure as below to check values are available to the measure

 

Is Data Available = IF(ISBLANK([KPI Status]) && ISBLANK([Within 35 Days]) , 0,1)

 

Then put this measure as a visual level filter . After that filter with is 1.  

If is blank not work try with [KPI Status] = ""

Thanks, I had to change the measure a bit, but your solution gave me a base code to get it working. 👍

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors