Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello,
I have this table:
I want to show the CVR in a chart. Problem is I found one formula working when filtered per platform, and one formula working when not filtered.
Working when filtered by platform:
Flat_File_CVR[ Orders ]/Flat_File_CVR[ Visits ]
> Meaning that my percentages are summed when I don't filter, which is wrong.
Working when total only:
Flat_File_CVR[ Orders ]/CALCULATE(SUM(Flat_File_CVR[ Visits ]);ALLEXCEPT(Flat_File_CVR;Flat_File_CVR[Months]))
Is there any way to have a formula working in both cases ?
Thanks.
Hi @Anonymous ,
By my tests based on your information, I'm not very clear about your requirement.
If it is convenient, could you share some data sample as table format and your desired output so that I can copy and test on it.
Best Regards,
Cherry
Not 100% sure but, this looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
70 | |
66 | |
50 | |
31 |
User | Count |
---|---|
116 | |
99 | |
75 | |
65 | |
40 |