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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Mohsen_2020
Helper III
Helper III

Percentage view is not standard

Dear Team, 

 

As showing in the attached screenshot the percentage is not standard as it's showing for example "9400%" but i need it to be like "94%", Please advise. 

SS.png

 

Regards,

Mohsen

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@Mohsen_2020 

maybe you can try reach%/100 and set the decimal from 2 to 0





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

Proud to be a Super User!




View solution in original post

v-rzhou-msft
Community Support
Community Support

Hi @Mohsen_2020 

In addition to   's reply, if you can transform reach% in power query editor. You can build a new custom column based on reach% column, then delete reach% column and rename the new column as reach% column.

You can copy my M query in your Advanced Editor.

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUbI0UYrViVZyAjEtwExnINPMAMx0AYmagZmuQKaFMZjpBhI1BTPdoSbEAgA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t, #"Reach%" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Name", type text}, {"Reach%", Percentage.Type}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "M Query", each [#"Reach%"]/100),
    #"Changed Type1" = Table.TransformColumnTypes(#"Added Custom",{{"M Query", Percentage.Type}, {"Reach%", Int64.Type}}),
    #"Removed Columns" = Table.RemoveColumns(#"Changed Type1",{"Reach%"}),
    #"Renamed Columns" = Table.RenameColumns(#"Removed Columns",{{"M Query", "Reach%"}})
in
    #"Renamed Columns"

Sample Table:

1.png

Result:

2.png

If you can't transform it in Power Query Editor, you can build a calculated column by Reach%/100 like  

has replied or you can build a text type column.

New Reach% = [Reach%]/100

OR

New Reach% = [Reach%] &""&"%"

3.png

You can download the pbix file from this link: Percentage view is not standard

 

Best Regards,

Rico Zhou

 

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

3 REPLIES 3
v-rzhou-msft
Community Support
Community Support

Hi @Mohsen_2020 

Could you tell me if your problem has been solved? If it is, kindly Accept it as the solution. More people will benefit from it. Or you are still confused about it, please provide me with more details about your problem or share me with your pbix file from your Onedrive for Business.

 

Best Regards,

Rico Zhou

v-rzhou-msft
Community Support
Community Support

Hi @Mohsen_2020 

In addition to   's reply, if you can transform reach% in power query editor. You can build a new custom column based on reach% column, then delete reach% column and rename the new column as reach% column.

You can copy my M query in your Advanced Editor.

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WclTSUbI0UYrViVZyAjEtwExnINPMAMx0AYmagZmuQKaFMZjpBhI1BTPdoSbEAgA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Name = _t, #"Reach%" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Name", type text}, {"Reach%", Percentage.Type}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "M Query", each [#"Reach%"]/100),
    #"Changed Type1" = Table.TransformColumnTypes(#"Added Custom",{{"M Query", Percentage.Type}, {"Reach%", Int64.Type}}),
    #"Removed Columns" = Table.RemoveColumns(#"Changed Type1",{"Reach%"}),
    #"Renamed Columns" = Table.RenameColumns(#"Removed Columns",{{"M Query", "Reach%"}})
in
    #"Renamed Columns"

Sample Table:

1.png

Result:

2.png

If you can't transform it in Power Query Editor, you can build a calculated column by Reach%/100 like  

has replied or you can build a text type column.

New Reach% = [Reach%]/100

OR

New Reach% = [Reach%] &""&"%"

3.png

You can download the pbix file from this link: Percentage view is not standard

 

Best Regards,

Rico Zhou

 

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

ryan_mayu
Super User
Super User

@Mohsen_2020 

maybe you can try reach%/100 and set the decimal from 2 to 0





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

Proud to be a Super User!




Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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