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 guys,
I have a dataset which contains the following, but i can't seem to get the % of zipcode working.
Zipcode | Gender | Number of contacts | % of zipcode |
10 | female | 1000 | 62,5% |
10 | Male | 600 | 37,5% |
20 | female | 800 | 66,7% |
20 | Male | 400 | 33,3% |
Solved! Go to Solution.
Hi @mertzin
Create a measure
Measure = CALCULATE ( SUM ( Table1[Number of contacts] ), ALLEXCEPT ( Table1, Table1[Zipcode], Table1[Gender] ) ) / CALCULATE ( SUM ( Table1[Number of contacts] ), ALLEXCEPT ( Table1, Table1[Zipcode] ) )
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mertzin
Create a measure
Measure = CALCULATE ( SUM ( Table1[Number of contacts] ), ALLEXCEPT ( Table1, Table1[Zipcode], Table1[Gender] ) ) / CALCULATE ( SUM ( Table1[Number of contacts] ), ALLEXCEPT ( Table1, Table1[Zipcode] ) )
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
110 | |
96 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |