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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

SWITCH function to present one value in whole row

I have SWITCH function like below....

koooala_0-1621518979090.png

 

I have function to return EBITA value in case group category is Admin 

koooala_1-1621519088887.png

It works well 

 

Currently the value is assigned to my matrix only in column with name category = Admin . 
I would like to assign the same value for other columns with different names. 

I would be happy for your resply with info what is the logic behind. 

THX!

4 REPLIES 4
SivaMani
Resident Rockstar
Resident Rockstar

@Anonymous, Can you share the expected output screenshot?

Anonymous
Not applicable

Below you can find expected outcome

koooala_1-1621578618401.png

value from admin column should be presented in other columns too (the places with red dot)

 

@Anonymous, Try this,

 

Instead of ADMIN_step2_cost centers[Group ] = "ADMIN"   

Filter( ALL(ADMIN_step2_cost centers[Group ]),ADMIN_step2_cost centers[Group ] = "ADMIN") 

 

Anonymous
Not applicable

Below code doesn't work (I have the same result - walu only in Admin column) 

20. Hourly rate - ADMIN = 
CALCULATE([10. EBITA LEVEL (CURR)],All('ADMIN List'),FILTER(ALL('ADMIN_step2_cost centers'[Group ]),'ADMIN_step2_cost centers'[Group ]="Admin"))

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.