• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Percentage Formatting

b_raj_kumar

New Member
Hi,


I want to change percentage format as shown in the attached file in power query / DAX. In the attached file :

B column - Actual data
C column - Required Output

Any help would be appreciated.

Thank you in advance.

Regards
raj kumar
 

Attachments

  • Book1.xlsx
    9.4 KB · Views: 1
A combination of a custom format in cells B2:B7 and conditional formatting in the same cells in the attached.
 

Attachments

  • Chandoo47460.xlsx
    10.5 KB · Views: 2
A combination of a custom format in cells B2:B7 and conditional formatting in the same cells in the attached.

Hi, Thank you for reply.

I used your "conditional format" formula in my report (Excel & DAX) . But giving wrong result.

in Excel --- "30.00%" is showing as "30.00%" instead "30%".
in DAX (Power BI) --- Showing wrong result.

Please look into it and share Solutions for Excel & DAX .

Regards
raj kumar
 

Attachments

  • Book2.xlsx
    10.3 KB · Views: 2
  • Percentage Formatting.png
    Percentage Formatting.png
    19.1 KB · Views: 3
I don't know what's with the MOD function returning what it does for 30% so I've altered the CF formula to an alternative way to find the MOD in the attached.
If you want me to explore a DAX solution attach a file with something in the Data Model or a PowerBI file which your picture seems it might be from.
 

Attachments

  • Chandoo47460Book2.xlsx
    11.3 KB · Views: 1
Back
Top