cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AbdulkareemALha Frequent Visitor
Frequent Visitor

Display number and percentage at same time in a table

Hi everone

 

I have a two KPIs

 

this is their table

 

KPI                              Actual         Planned

Revenue %                    20%                30%

Saving Value                2454                3000

 

I want to use a table and have the values in both Percentage and Numbers but its not working i can only choose one !

 

can you help me please ?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Display number and percentage at same time in a table

hi, @AbdulkareemALha

After my test, you could do these as below:

Add two calculate measure for each column

New Actual = IF(SEARCH("%",SELECTEDVALUE('Table1'[KPI]),1,0)>0,FORMAT(CALCULATE(SUM('Table1'[Actual])),"0%"),CALCULATE(SUM('Table1'[Actual])))

New Planned = IF(SEARCH("%",SELECTEDVALUE('Table1'[KPI]),1,0)>0,FORMAT(CALCULATE(SUM('Table1'[Planned])),"0%"),CALCULATE(SUM('Table1'[Planned])))

Result:

1.JPG

here is pbix, please try it.

https://www.dropbox.com/s/qvw2ulfxfic7fdb/Display%20number%20and%20percentage%20at%20same%20time%20i...

 

Best Regards,

Lin

 

Community Support Team _ Lin
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

2 REPLIES 2
Highlighted
Community Support Team
Community Support Team

Re: Display number and percentage at same time in a table

hi, @AbdulkareemALha

After my test, you could do these as below:

Add two calculate measure for each column

New Actual = IF(SEARCH("%",SELECTEDVALUE('Table1'[KPI]),1,0)>0,FORMAT(CALCULATE(SUM('Table1'[Actual])),"0%"),CALCULATE(SUM('Table1'[Actual])))

New Planned = IF(SEARCH("%",SELECTEDVALUE('Table1'[KPI]),1,0)>0,FORMAT(CALCULATE(SUM('Table1'[Planned])),"0%"),CALCULATE(SUM('Table1'[Planned])))

Result:

1.JPG

here is pbix, please try it.

https://www.dropbox.com/s/qvw2ulfxfic7fdb/Display%20number%20and%20percentage%20at%20same%20time%20i...

 

Best Regards,

Lin

 

Community Support Team _ Lin
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

AbdulkareemALha Frequent Visitor
Frequent Visitor

Re: Display number and percentage at same time in a table

This is Perfect,

 

Thanks alot Lin it worked like magic.

 

Hope you have a great day 🙂

 

Regards,

Abdulkareem

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 321 members 3,157 guests
Please welcome our newest community members: