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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors