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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Jalil239
Regular Visitor

How is the master who can do this ?

Jalil239_0-1726912455875.png

 

Here is DAX 

Total Average only = IF(ISFILTERED(OTOnline[OT_Month]), BLANK(), [Average_OT_Per_48])
 
I dont want red X one just only Green tick 
1 ACCEPTED SOLUTION
v-nuoc-msft
Community Support
Community Support

Hi @Jalil239 

 

Many thanks to danextian , mianjalil239 and dharmendars007  for their prompt reply. Let me add something here.

 

You may not be able to do this in the default design of power bi desktop, but let's try something else:

 

Solved: Matrix - Hide a column in visual but consider in c... - Microsoft Fabric Community

 

As mentioned in this post, you can turn off "Text wrap" in "Values" and "Column headers" and do this by adjusting the width.

 

vnuocmsft_0-1727059968168.png

 

vnuocmsft_1-1727060019638.png

 

vnuocmsft_2-1727060158533.png

 

Regards,

Nono Chen

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

View solution in original post

8 REPLIES 8
v-nuoc-msft
Community Support
Community Support

Hi @Jalil239 

 

Many thanks to danextian , mianjalil239 and dharmendars007  for their prompt reply. Let me add something here.

 

You may not be able to do this in the default design of power bi desktop, but let's try something else:

 

Solved: Matrix - Hide a column in visual but consider in c... - Microsoft Fabric Community

 

As mentioned in this post, you can turn off "Text wrap" in "Values" and "Column headers" and do this by adjusting the width.

 

vnuocmsft_0-1727059968168.png

 

vnuocmsft_1-1727060019638.png

 

vnuocmsft_2-1727060158533.png

 

Regards,

Nono Chen

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

danextian
Super User
Super User

Hi @Jalil239 

 Trying to hide a measure in the matrix viz hides all measures for that related column altogether.
What  you are trying to achieve requires a disconnected table that contains the desired column as value placeholders and then a measure to show the desired values. 

danextian_0-1726917184778.png

Please see attached sample pbix.










Did I answer your question? Mark my post as a solution!


Proud to be a Super User!









"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.
Jalil239
Regular Visitor

Not working I want OT monthly but OT Average for the year not month wise ! 

dharmendars007
Memorable Member
Memorable Member

Hello @Jalil239 , 

 

Please try the below code using HASONEVALUE ensures that a value is only returned if there is exactly one value selected in the OT_Month column.

 

Total Average only =
IF(HASONEVALUE(OTOnline[OT_Month]),[Average_OT_Per_48],BLANK()) 

 

If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

 

 

Not working I want OT monthly but OT Average for the year not month wise ! 

Helpful resources

Announcements
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.