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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Carlo1975
Helper I
Helper I

line graph from calculated table

Hi, I try to explain my problem.

I have a matrix table, where the value are calculated in a new measure.

This measure is an amount, but I transform the value in percentage (on the row total). The result is that at the end of each row I will have always 100%.

Below is the link to make you understand how the measure is calculated.

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Matrix-table-with-sum/m-p/1521299#M29660 

 

Cattura.JPG

 

The focus is that for ech of my cluster (secured, unsecured) I can choice "shows the value as a percentage of the row total". So, at the end of the row I have 100%

 

If I want to trasform this matrix table in a Line Graph, because I would like to show the trend of the lines, up to 100%. This shows how long it takes for each of the clusters to make sales (when both clusters reach 100%). But in this case I don't have ""shows the value as a percentage of the row total" but only "shows the value as a percentage of the total". 

 

So, I can only show the value as a percentage of the grand total and not the percentage of the row total.

The line chart will therefore not tend to 100% for each cluster.

 

Cattura.JPG

 

The trend of each cluster is based on the total. So one cluster will reach 85% and the other 15%. Instead both, as mentioned, should reach 100%

 

1 ACCEPTED SOLUTION
AlB
Community Champion
Community Champion

Hi @Carlo1975 

Create a new measure based on the one you have. Should be something like:

New Measure =
DIVIDE (
    [CurrentMeasure],
    CALCULATE ( [CurrentMeasure], ALL ( Table1[Quarter_Contabile_Number] ) )
)

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

View solution in original post

1 REPLY 1
AlB
Community Champion
Community Champion

Hi @Carlo1975 

Create a new measure based on the one you have. Should be something like:

New Measure =
DIVIDE (
    [CurrentMeasure],
    CALCULATE ( [CurrentMeasure], ALL ( Table1[Quarter_Contabile_Number] ) )
)

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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