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,
I have a created a page in power bi that shows count of items sold to different customers in a table visual. With that I also have two slicer visuals - One which shows the years and second which shows the months. So now I wanted to calculate average based on the options selected on slicer.
For eg- If I choose Jan, Feb ,March then I want the average count of itmes sold to customer A,B ,C etc in these three months. Whereas, if I select Jan, Feb,March,April then I want the average count of itmes sold to customer A,B ,C etc in these four months. So basically it should take the items sold in each month for each customer and then divide the total by no of months selected (which would be subject to change as it depends on what months we choose).
Is there any way to achieve this? Any help would be appreciated!
Solved! Go to Solution.
You may try using SUMMARIZE Function inside AVERAGEX Function to add a measure.
You may try using SUMMARIZE Function inside AVERAGEX Function to add a measure.
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 |
---|---|
107 | |
100 | |
80 | |
63 | |
58 |
User | Count |
---|---|
148 | |
111 | |
94 | |
84 | |
67 |