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 everyone,
I have a survey which I am producing a report for and I would like to show the % difference between a filtered total of responses and a 'total sample' measure. For example:
Age Range | Responses filtered by various slicers (e.g. sampling location) | Total sample (only affected by calendar slicer) | % difference |
16-24 | 20% | 30% | -10% |
25-34 | 40% | 40% | 0% |
35-44 | 40% | 30% | +10% |
To get the % total for each category which responds to the various slicers I have used the following formula, but this is only half of the equation:
To make matters more complicated, for some of the tables I am using a dimensions table to convert the variable key into a more relevant description. i.e. the raw data holds age range codes from 1-8 which equate to typical age range brackets listed in the dimensions table (16-24, 25-34 etc). Unfortnately the formula above doesn't work in this context.
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 |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |