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 all,
I hope you are well,
I am trying to do a matrix visualization based of values that are in a calculated column. The values in the calculated column are correct. However, when I use the matrix, it sums the values as shown below:
Just some context:
1. I need to show the average number of orders per dealer code, per day, per month:
- Dealer code is shown
- Per day is Monday to Friday (or Weeknum)
- Per month is Month (or Monthnum)
2. I used the following DAX to calculate the average:
Is there a way I can use a Measure rather than the calculated column? Or another way to go around this. Any help will be appreciated 🙂
Kind Regards,
Asa
Solved! Go to Solution.
@Asa94 , Try a measure like
calculate(average(inv[order]), filter(allselected(inv), inv[dealercode] =max( inv[dealercode]) && inv[monthnum] = max(inv[monthnum]) && inv[weeknum] = max(inv[weeknum])))
@Asa94 , Try a measure like
calculate(average(inv[order]), filter(allselected(inv), inv[dealercode] =max( inv[dealercode]) && inv[monthnum] = max(inv[monthnum]) && inv[weeknum] = max(inv[weeknum])))
@amitchandak , thank you so much! 🙂
That measure gave me the same results as the calculated measure. Appreciate it so much
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 |
---|---|
108 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |