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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Use Two Calculation Groups in Matrix + Format String Expression

Hi everyone !

 

I wanted to ask you if anyone has worked with 2 groups calculated in a matrix.

The problem I have is regarding the format of the values, since according to which calculated item is selected, I use the format of the first or second calculated group.

Example:

In the following matrix I need the last column to show me the values in percentage format.
But I have two groups calculated and it always selects the format of the first group.

 

pbi1.PNG

First calculated group where the calculated item has the format "€, 0.0":

pbi2.PNG

Second calculated group where the calculated item has the format "0.00%":

pbi3.PNG

 

I need to select the format of the first one, but in the last column I need to take the percentage value, is it possible?

Thanks!

Regards!

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I was able to solve it, the problem was in the precedence of Tabular Editor. Thank you!

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@Anonymous 
1. You may change the format in the top menu. 

format percent.JPG

2. create another measure to replace the old field using format() function. 

FORMAT( sum[variance], "Percent") 

 

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

Anonymous
Not applicable

I was able to solve it, the problem was in the precedence of Tabular Editor. Thank you!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.