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.
Dear All,
I have created the Measure with average data = sum ( value ) / Sum ( qty ) by month or by item.
I want to SUM data of average by month when i select year at the yellow color. How can i do that ? Please give me your advice.
Thanks in advance.
Solved! Go to Solution.
Hi @locle90 ,
I created a sample pbix file(see the attachment), please check if that is what you want.
Total =
VAR _tab =
SUMMARIZE (
'Table',
'Table'[Date],
"@avg", DIVIDE ( SUM ( 'Table'[value] ), SUM ( 'Table'[qty] ) )
)
RETURN
SUMX ( _tab, [@avg] )
Best Regards
Hi @locle90 ,
I created a sample pbix file(see the attachment), please check if that is what you want.
Total =
VAR _tab =
SUMMARIZE (
'Table',
'Table'[Date],
"@avg", DIVIDE ( SUM ( 'Table'[value] ), SUM ( 'Table'[qty] ) )
)
RETURN
SUMX ( _tab, [@avg] )
Best Regards
@locle90 , If there is a measure that gives average correctly putting it in a table visual with month should give a total value at the bottom row. If the requirement is to get sum of average in a card visual the dax will be different.
Dear @ChiragGarg2512
The table is one of the options. But how we can do that if we need to show on the card ?
Thanks
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
19 | |
7 | |
6 | |
5 | |
5 |
User | Count |
---|---|
25 | |
10 | |
10 | |
9 | |
6 |