Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have a table with the average of sells per product per month, like the image. When I add the total of power bi, automatically it shows as total the average per month but I would like to see the sum of each average YTD. Like the example.
How can I do this in DAX?
Thank you in advance.
Hi,
Thanks for the replying. But unfortunately this don't solve it. 😞 I need to sum the results from each month average. Each average that I did through the sumproduct.
Hi,
I tried to create a sample pbix file like below.
Please check the below picture and the attached pbix file.
I hope the below can provide some ideas on how to create a solution for your dataset.
Expected result measure: =
IF ( HASONEVALUE ( Data[Date] ), AVERAGE ( Data[Qty] ), SUM ( Data[Qty] ) )
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
28 | |
12 | |
10 | |
10 | |
6 |