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.
Hello,
I am trying to show some dynamic histograms in Power BI, that depend on time range selected within a time slicer. For example, I have a following dataset:
Date Customer Is_Active
10-10-2019 Cust1 Yes
10-10-2019 Cust2 No
10-10-2019 Cust3 Yes
10-09-2019 Cust1 Yes
10-09-2019 Cust2 No
10-09-2019 Cust3 No
10-08-2019 Cust1 No
10-08-2019 Cust2 No
10-08-2019 Cust3 Yes
etc ....
I have the slicer for Date.
The histogram I am trying to show has the following axes:
x-axis: percentage of days a customer was active within a time range selected in the slicer Date (with the following bins: 0-10%, 10-20%, 20-30%, ... , 90-100%)
y-axis: percentage of customers that belong to the corresponding bin on the x-axis
I've calculated the necessary measures, but unfortunately, Power BI doesn't allow measures on x-axis of the bar chart. Is there any workaround for this specific case?
Thank you.
I am not sure I got it completely. But if you have created bins then either a clustered bar chart or clustered column chart should work.
If both are numeric the bubble is on the char allow both numeric axis. I doubt there is a seeded X-Y chart there.
So far, I've calculated the following measures for CustomersTotals table that I've desribed in the original post (Date, Customer,Is_Active
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 | |
99 | |
82 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |