Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Good
I need help with the following problem: The percentage of the column Uds/Veh. is Units between Veh_Turismo but I would like the denominator to always be Nº VEHICLES. What happens is that column Veh_Turismo is disaggregated according to the categories that I have put in the table but I want that not to happen, that the denominator is always constant with the value 9221 in this case that has been calculated as SUM(Veh_Turismo) being Veh_Turismo a column of 1 and 0 being 1 when
Solved! Go to Solution.
Hi @Syndicate_Admin
If I understood you correctly
You can use these measures :
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
Please share sample data (excluding sensitive information) in text format, along with your expected result and any relevant logic. For guidance, refer to
How to provide sample data in the Power BI Forum
If possible, upload a simplified .pbix file using this guide:
How to upload PBI in Community
Units | Vehicles | Categories |
23 | 1 | a |
65 | 1 | b |
45 | 1 | c |
21 | 0 | c |
52 | 0 | b |
35 | 1 | b |
64 | 0 | a |
20 | 1 | a |
23 | 0 | b |
Category | Current Percentage: SUM(Units)/SUM(Vehicles) | Expected Percentage: SUM(Units)/SUM(Vehicles) |
a | 45/2 | 45/5 |
b | 100/2 | 100/5 |
c | 45/1 | 45/5 |
In the real case, there are thousands of vehicles. They would be similar units but divided by, for example, 9221
Hi @Syndicate_Admin
If I understood you correctly
You can use these measures :
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
85 | |
79 | |
53 | |
39 | |
36 |
User | Count |
---|---|
100 | |
85 | |
47 | |
46 | |
44 |