cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
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.
2 REPLIES 2
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.
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 Smiley Happy

 

Regards,

Abdulkareem

Helpful resources

Announcements
Community Highlights

Community Highlights

Find out what's new in the Power BI Community!

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 62 members 1,280 guests
Please welcome our newest community members: