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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
vazmor
Helper II
Helper II

Matrix multiple columns and different value

Hello
I need to do the following table, with the first column must be the total brand, but in the following columns that works as a matrix and calculate each brand individually, what I have so far is what I attached but I repeat the information in each column and not That's what I'm looking for, additionally there is a slicer that selects the brand.

Archive Sample

 

Thank You

1 ACCEPTED SOLUTION
v-jiascu-msft
Employee
Employee

Hi @vazmor,

 

The workaround is using a calculated column instead of a measure. Please give it a try.

All Brand column =
CALCULATE ( SUM ( Hoja3[Sale_Value] ), ALLEXCEPT ( Hoja3, Hoja3[Store] ) )

Matrix_multiple_columns_and_different_value

 

Best Regards,

Dale

Community Support Team _ Dale
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

3 REPLIES 3
v-jiascu-msft
Employee
Employee

Hi @vazmor,

 

The workaround is using a calculated column instead of a measure. Please give it a try.

All Brand column =
CALCULATE ( SUM ( Hoja3[Sale_Value] ), ALLEXCEPT ( Hoja3, Hoja3[Store] ) )

Matrix_multiple_columns_and_different_value

 

Best Regards,

Dale

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

Hi @v-jiascu-msft ,

That's a brilliant workaround. 

Now I have an extra question. What if I want to have the similar column like "All brand collumn", but this column value should change based on my slicer selection. As I understand, Calculated column cannot be changed based on slicer/filter (filter context), only Measures can be changed. But Rows (in Matrix setting) does not accept Measures (I tried to drag the measure into the Rows, it didin't allow).
Do you know any other workaround to solve my issue?

Thank you very much!

Thank You.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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