Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I expect this is simple but I want to display a series of 'headline' ratios or pecentages on my report using cards or KPI visuals.
I'm using these type of measures in tables:
Conversion % = DIVIDE([No. of Leads],CALCULATE([No. of Leads],ALLSELECTED('Leads'[Status])))
Exhibition % = DIVIDE([No. of Leads],CALCULATE([No. of Leads],ALLSELECTED('Leads'[Exh/Non-Exb])))
Which is great and works perfectly but when I want to use one on a card that gives a percentrage of just status of 'qualified' or 'Exhibitions' I get 100% displayed.
I feel like there is perhaps another measure I need to write in DAX to get the result I want. Can anyone help please?
Many thanks.
Solved! Go to Solution.
Hi @Anonymous,
Please try these two formulas:
Conversion % = DIVIDE ( CALCULATE ( [No. of Leads], ALLEXCEPT ( Leads, Leads[Status] ) ), CALCULATE ( [No. of Leads], ALL ( Leads ) ) ) Exhibition % = DIVIDE ( CALCULATE ( [No. of Leads], ALLEXCEPT ( Leads, Leads[Exh/Non-Exb] ) ), CALCULATE ( [No. of Leads], ALL ( 'Leads' ) ) )
If this doesn't work, please share some sample data and the formula of measure [No. of Leads] for further analysis.
Thanks,
Yuliana Gu
Hi @Anonymous,
Please try these two formulas:
Conversion % = DIVIDE ( CALCULATE ( [No. of Leads], ALLEXCEPT ( Leads, Leads[Status] ) ), CALCULATE ( [No. of Leads], ALL ( Leads ) ) ) Exhibition % = DIVIDE ( CALCULATE ( [No. of Leads], ALLEXCEPT ( Leads, Leads[Exh/Non-Exb] ) ), CALCULATE ( [No. of Leads], ALL ( 'Leads' ) ) )
If this doesn't work, please share some sample data and the formula of measure [No. of Leads] for further analysis.
Thanks,
Yuliana Gu
Works perfectly!
Thank you.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
106 | |
94 | |
77 | |
65 | |
53 |
User | Count |
---|---|
145 | |
105 | |
104 | |
90 | |
63 |