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

Measure with row

I have the follwoing table. In this table I have different type of values (total costs, cost per unit, percent).

BrauTi_0-1647601155099.png

 

In order to define the format of the specific information e.g. LTC. Backlight Unit = % and invest = full number, my idea was to create a measure for each of this category. I have programmed a measure and put this parameters into the values.

After this my table looked as following:

BrauTi_1-1647601413374.png

My question is how can I bring this table in the same format like at the first picture considering my measures. Perhaps I have to change my measures but how?

 

Would be very greatful if some could help.

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try to create another measure like below and put it into your matrix.

Measure =
SWITCH (
    MAX ( 'YourTable'[Name] ),
    "Project Variant 1", [(PI) Invest],
    "Project Variant 2", [(PI) Mat. Cost. Backlight Unit],
    "Project Variant 3", [(PI) LTC Backlight Unit]
)

 

 

Best Regards,

Icey

 

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

2 REPLIES 2
Anonymous
Not applicable

I have forgot to add the code of the measures: 

(PI) Invest = CALCULATE(SUM('Anfügen1'[Info]),FILTER('Anfügen1','Anfügen1'[Item]="Invest"))
 
(PI) LTC Backlight Unit = CALCULATE(SUM('Anfügen1'[Info]),FILTER('Anfügen1','Anfügen1'[Item]="LTC: Backlight Unit"))
 
(PI) Mat. Cost: Backlight Unit = CALCULATE(SUM('Anfügen1'[Info]),FILTER('Anfügen1','Anfügen1'[Item]="Mat. Cost: Backlight Unit"))
Icey
Community Support
Community Support

Hi @Anonymous ,

 

Try to create another measure like below and put it into your matrix.

Measure =
SWITCH (
    MAX ( 'YourTable'[Name] ),
    "Project Variant 1", [(PI) Invest],
    "Project Variant 2", [(PI) Mat. Cost. Backlight Unit],
    "Project Variant 3", [(PI) LTC Backlight Unit]
)

 

 

Best Regards,

Icey

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors