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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Super User
Super User

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
Super User
Super User

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.