cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
PTSS
Frequent Visitor

How to Apply 2 format in 1 table field

I have sample data with Amount Decimal in Visual Matrix Power BI like this :

Account Nobuk Date Amount
1230 ER2318 8/8/2022 2200
1231 CA8754 3/4/2023 70
1232 TR3241 2/25/2023 100


How to make Amount can be used in 2 formats between decimal and percentage in Power BI like this?

Account Nobuk Date Amount
1230 ER2318 8/8/2022 2200
1231 CA8754 3/4/2023 70%
1232 TR3241 2/25/2023 100


I have tried the formula but it doesn't work :

IF([Account]<>1231,[Amount],Format([Amount],"Percent")

 

Please help us how to apply 2 formats of Decimal and Percent in 1 table field

1 REPLY 1
lbendlin
Super User
Super User

What makes you decide to treat the second value as a percentage?  It would display as 7000% anyway so you would need to change it to 0.7

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors