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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Kai_yun
Frequent Visitor

I would like to change the format of the PowerBI table

I made a table in PowerBI, but what I want is not working well...

What I want is to show the Q'ty above and the Ratio below.

Like the photo below

Kai_yun_1-1659943733419.png

 

However, in PowerBI, it looks like the below.

Kai_yun_2-1659943795479.png

 

 

 

1 ACCEPTED SOLUTION

Hi, @Kai_yun 

I made a new sample based on your current model and hope it works for you.

Sample file

 

Regards,

Ethan

View solution in original post

6 REPLIES 6
Kai_yun
Frequent Visitor

Thank you for your quick answer!

I tried changing the value, but it's not what i want😂

I would like th share my PowerBI file, do you know how to share it?

Kai_yun_0-1659947494825.png

 

 

Hi, @Kai_yun 

Enter a new table:

Ethan96_0-1660112035524.png

Then try mesaure like:

 

 

Values = SWITCH(SELECTEDVALUE('Table2'[Group1]),"Q'TY",SUM('Table'[Q'ty]),"Ratio",format(SUM('Table'[Ratio]),"percent"))

 

 

 

Ethan96_1-1660112081987.png

 

Sample file

If I misunderstand, please upload your file to cloud storage, set permissions and share the link here.

 

Regards,

Ethan

I just want to share the original contents of the table.

I tried to copy what you teached me, but it didn't work normally....

 

1Jan0~1A
1Jan1~2A
1Jan2~3A
1Jan3~A
2Feb0~1A
2Feb1~2A
2Feb2~3A
2Feb3~A
3Mar0~1A
3Mar1~2A
3Mar2~3A
3Mar3~A
4Jan0~1B
4Jan1~2B
4Jan2~3B
4Jan3~B
5Feb0~1B
5Feb1~2B
5Feb2~3B
5Feb3~B
6Mar0~1B
6Mar1~2B
6Mar2~3B
6Mar3~B

Hi, @Kai_yun 

I made a new sample based on your current model and hope it works for you.

Sample file

 

Regards,

Ethan

Hi, @Kai_yun 

What's your first column? Can you provide names of these columns?

Regards,

Ethan

 

bcdobbs
Community Champion
Community Champion

Not sure it get's you exactly what you want but try a matrix and then go into format >> Values >> Show on Rows.

 

(Away from computer so apologies if labels are not exactly correct)



Ben Dobbs

LinkedIn | Twitter | Blog

Did I answer your question? Mark my post as a solution! This will help others on the forum!
Appreciate your Kudos!!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.