Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
My line chart is measuring 3 things. I want line A to be measured as a percentage of line B. However, it is being measured as a percentage of line B and C. Is there a way to fix this?
Essentially I want the graph to look how it does right now, but I want the "Success" line to be a percentage and not a sum. Also, it should be a percentage of Marketo Lead ID, not a percentage of Marketo Lead ID and Activity Type (grand total).
Hi @pkumar,
You could try with calculated measure:
Success = DIVIDE(DISTINCTCOUNT(Data[Marketo Lead ID]), CALCULATE(DISTINCTCOUNT(Data[Marketo Lead ID]),ALL(Data)))
As my sample: there are total 130 leads, and 5 leads in April 17, 2016, so the % = 5/150 = 3.86%. Is is correct?
For filter with anothe columns/fields, you could replace ALL(Data) method by ALLEXCEPT(Data,columnfieldInTheSlicer) or try with ALLSELECTED method.
If this works for you please accept it as solution and also like to give KUDOS.
Best regards
Tri Nguyen
I'm still a little confused...I'm trying to get the success percentage to be a percentage of Activity Type. So if you look at the line graph I uploaded highlighted, it should be 1701/31075 = 5.47%
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
58 | |
55 | |
55 | |
37 | |
30 |
User | Count |
---|---|
78 | |
64 | |
45 | |
42 | |
40 |