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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.