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

Hi , I want to show decimal values with some % values in same Power BI table, how to achieve this ?

Hi , I want to show decimal values with some % values in same Power BI table, how to achieve this ?

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could create a dax measure as follows:

May 2021  Actual2 =
IF (
    CONTAINSSTRING ( MAX ( [SAR] ), "%" ),
    FORMAT ( MAX ( [May 2021  Actual] ), "percent" ),
    MAX ( [May 2021  Actual] )
)
May 2021 Budget2 =
IF (
    CONTAINSSTRING ( MAX ( [SAR] ), "%" ),
    FORMAT ( MAX ( [May 2021 Budget] ), "percent" ),
    MAX ( [May 2021 Budget] )
)

The final output is shown below:

vyalanwumsft_0-1627542249936.png

 

Best Regards,
Community Support Team_ Yalan Wu
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

7 REPLIES 7
v-yalanwu-msft
Community Support
Community Support

Hi, @Anonymous ;

You could create a dax measure as follows:

May 2021  Actual2 =
IF (
    CONTAINSSTRING ( MAX ( [SAR] ), "%" ),
    FORMAT ( MAX ( [May 2021  Actual] ), "percent" ),
    MAX ( [May 2021  Actual] )
)
May 2021 Budget2 =
IF (
    CONTAINSSTRING ( MAX ( [SAR] ), "%" ),
    FORMAT ( MAX ( [May 2021 Budget] ), "percent" ),
    MAX ( [May 2021 Budget] )
)

The final output is shown below:

vyalanwumsft_0-1627542249936.png

 

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks @selimovd 

The issue with me is all values I am fetching from a table and in table some values are in decimal where some are in %. Capture.PNG

 

now I want to show these 0 and 1 to %.

hope I am clear now ??

Hey @Anonymous ,

 

for each column or measure you can change the type. Select the column or measure "Contribution Margin (%)", to to the tab "Measure tools" / "Column tools" and chose "Percentage" as Format:

selimovd_0-1627315114925.png

 

Then for the Sales you chose decimal number or currency and so on.

In the matrix the correct formatting will be shown then.

 

Does that help?

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

I made a profile just to persionally tell you that this was incredibly helpful! In the PBI world where everyone wants to boil the ocean a sweet and simple repsonse to get the job done is a light in the otherwise darkness of data. Thanks friend! 

Anonymous
Not applicable

table pbi.PNGI dont have any calculated column and measures. I have only straight forward columns. Like you can see in screenshot. I am also sending you screenshot of table which I want to prepare in Power BI.

Can you please provide a solution now.

 

table 1.PNG

@Anonymous 

what about set the column data format to %?

1.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




selimovd
Super User
Super User

Hey @Anonymous ,

 

you can add the measure with decimal values and the measure with percentage to the same Power BI table.

Just drop them in the same matrix.

 

If you need any help please let me know.
If I answered your question I would be happy if you could mark my post as a solution ✔️ and give it a thumbs up 👍
 
Best regards
Denis
 

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.