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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.