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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors