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.
I am working on a dataset where i need percentage of each category of surveys and I am using stacked bar chart to visualize the data
I have date range filter, when i change date range to one particular month percentage the bar chart is not showing like i expected that means it's not 100% cumulative
For example ,
responseid | category | date |
1nflkjnsldkn | Top2 | 1/1/2020 |
23dffthrghf | Bottom2 | 1/2/2020 |
sdgfgdfgdfg | middle2 | 1/3/2020 |
sdasgasdgg | Top2 | 1/4/2020 |
dfdgfhadvv | Bottom2 | 1/5/2020 |
cvbghrttsd | Top2 | 1/6/2020 |
I have survey responses from 06/01/2019 to 06/012020 and I am using below DAX to caluclate the percentage
Is there any way that we can achieve this by using DAX ?
Do you have survey data for each of the categories in each of the months? if yes then you can do a simple cumulative count against your dates table. If no then you need to use CROSSFILTER(survey date,dates date, none) to fill in the gaps.
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 |
---|---|
47 | |
23 | |
20 | |
15 | |
13 |
User | Count |
---|---|
51 | |
42 | |
39 | |
19 | |
19 |