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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Grimoire
New Member

Show Data in % in Chart B from Total in Chart A

Hi All,

 

I just had a quick question, since I could not find this particular info while searching. Is it possible to show data as  %  in 1 chart based on the total of another? Both charts are coming from the same Data Table.  

 

the example below, I would like to show in chart B:

 

for Week Start, 7 = 34 /841 % = 4 % and so on.  

Grimoire_1-1713131574525.png

 

Thank you for your time and consideration. 

1 ACCEPTED SOLUTION
v-heq-msft
Community Support
Community Support

Hi @Grimoire ,
Based on your description, you can customize the display of the datalable
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:

vheqmsft_0-1713144948767.png

Create a measure

 

 

Measure = FORMAT(SELECTEDVALUE('Table'[Week start])/SELECTEDVALUE('Table'[Released Week]),"0.0%")

 

 

Apply the meaure to the datalable value

vheqmsft_1-1713145062155.png

Final output

vheqmsft_1-1713145901230.png

 



If your two tables are separate, you will need to pass the
Released Week and Week start to create a one-to-one relationship between them.

vheqmsft_0-1713145644797.png

 

Measure 2 = FORMAT(SELECTEDVALUE('Chart B'[Value])/SELECTEDVALUE('Chart A'[Value]),"0.0%")

 

vheqmsft_2-1713145911937.png

 



Best regards,

Albert He

 

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

1 REPLY 1
v-heq-msft
Community Support
Community Support

Hi @Grimoire ,
Based on your description, you can customize the display of the datalable
Here some steps that I want to share, you can check them if they suitable for your requirement.
Here is my test data:

vheqmsft_0-1713144948767.png

Create a measure

 

 

Measure = FORMAT(SELECTEDVALUE('Table'[Week start])/SELECTEDVALUE('Table'[Released Week]),"0.0%")

 

 

Apply the meaure to the datalable value

vheqmsft_1-1713145062155.png

Final output

vheqmsft_1-1713145901230.png

 



If your two tables are separate, you will need to pass the
Released Week and Week start to create a one-to-one relationship between them.

vheqmsft_0-1713145644797.png

 

Measure 2 = FORMAT(SELECTEDVALUE('Chart B'[Value])/SELECTEDVALUE('Chart A'[Value]),"0.0%")

 

vheqmsft_2-1713145911937.png

 



Best regards,

Albert He

 

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

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.