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

Display Specific Column Data

I have a matrix that I only want to display the results in column 6 where the result is "0" (zero).  Any help would be appreciated. 

Zero Week 6.JPG

 

 

 

 

1 ACCEPTED SOLUTION
mahoneypat
Microsoft Employee
Microsoft Employee

You can try something like this (if i understand correctly).

 

NewMeasure = var vResult = [YourMeasure]

Return IF(AND(SELECTEDVALUE(Table[ColumnUsedAsMatrixColumns]) =6, vResult <> 0), BLANK(), vResult)

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @bmarcowka ,

 

What's your table look like? I did a test. If your table is similar to mine, you can use the function @mahoneypat  recommends.

Measure = IF(MAX('Sheet2'[C2])=6&&MAX('Sheet2'[value])<>0,BLANK(),MAX('Sheet2'[value]))

v-yuaj-msft_0-1613459682029.png

If not, please provide me with more details about your table and your problem or share me with your pbix file from your Onedrive for Business. 

 

Hope that's what you were looking for.

Best Regards,

Yuna

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

mahoneypat
Microsoft Employee
Microsoft Employee

You can try something like this (if i understand correctly).

 

NewMeasure = var vResult = [YourMeasure]

Return IF(AND(SELECTEDVALUE(Table[ColumnUsedAsMatrixColumns]) =6, vResult <> 0), BLANK(), vResult)

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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.

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.