Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
8 | |
6 |
User | Count |
---|---|
14 | |
13 | |
11 | |
9 | |
9 |