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
The avarage cost doesn't work - see beneath:
The cost is calculated from quantity and line amount.
The avarage cost is calculated as (but it does not work - in the above photo the avarage cost is 343,33 but i'll think it is wrong and it should be 408):
Hi ElenaJohansen,
According to your description, my understanding is that you want to calculate the average data based on the item id. In this scenario, we can use the following DAX query:
Average cost = CALCULATE(AVERAGE(Excel[Cost]),FILTER(ALLEXCEPT(Excel,Excel[Item ID]),'Dates'[MonthYear] = thisYear))
Best Regards,
Teige
Hi @TeigeGao
I cannot use the DAX query - it tells me following:
Hope you can help me
Best regards
Elena Johansen
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 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |