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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
GAPER
Post Patron
Post Patron

How do i set this formula right?

GAPER_1-1701755311617.png

 

 

I have a matrix table 

 

Level 1 is Porfolio and and level 2 is Project_short. There is a column I only want to show (ALL_IN_RATE) when it's at level 2 so i created this formula. Anyone has an idea why this doesnt' work?/

 

Thanks. 

 

1 ACCEPTED SOLUTION

@GAPER 

you can try this

Measure 2 = if(ISFILTERED('Table'[Column2]),max('Table'[Column3]),blank())

11.PNG





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

Proud to be a Super User!




View solution in original post

14 REPLIES 14
GAPER
Post Patron
Post Patron

Let me rephrase. Please see the attached workbook

 

GAPER_0-1701762702492.png

 

GAPER_1-1701762710403.png

 

I just want the best product column not to show any value for Asia because that wouldn't be meaningful Thanks!

 

@GAPER 

you can try this

Measure 2 = if(ISFILTERED('Table'[Column2]),max('Table'[Column3]),blank())

11.PNG





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

Proud to be a Super User!




tHIS IS AMAZING

GAPER
Post Patron
Post Patron

Basically i don't want to column ALL in rate to show anything when i am at this level. because the data is not meaningful. 

ryan_mayu
Super User
Super User

@GAPER 

That's a column. you need to add aggregate function like sum, max ,min.





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

Proud to be a Super User!




So what should I do to get my desired output

 

For example, 

 

I have three columns. 

 

Level 1 Groupping

Level 2 Groupping

Column storying information of the prodocut category of Level 2 (which is not applicable to level 1)

 

GAPER_0-1701757824620.png

 

not clear about that. Could you pls provide some sample data and expected output?





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

Proud to be a Super User!




Let's consider this. The main goal is that I don't want it to show any aggregration (first/last) for Asia in the product column. 

 

GAPER_0-1701758297186.png

 

is this what you want?

11.PNG

what's your current output?





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

Proud to be a Super User!




Could you show what would happen if you only showing at asia level (i.e., collapse one level)

This one works. May I have your powerbi settings?

 

Mine is like 

 

AsiaToy
Hong KongToy
ChinaComputer
KoreaToy
JapanComputer
TaiwanPS4

 

Because Asia is pulling first for the product column. 

you need to separate Asia and other countries to different columns. Then you can have the geo 

hierarchy





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

Proud to be a Super User!




They are now in different columns and different hiarachy. But how do you make them to expand like you G1 G2. Mine is expanded vertically 

 

GAPER_0-1701761992922.pngGAPER_1-1701762003173.png

 

Thanks

 

you can try turn off the stepped layout in the matrix settings.

11.PNG





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

Proud to be a Super User!




Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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