Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello,
I am trying to replicate the visual below in Power BI. I am using a matrix where my Rows are customer name, my Columns are a date field, and my Values are a quantity. I would also like to add in a measure such as Total Quantity YTD, Average, etc, but I cannot simply drop in a measure that I created when I am using a date field in the Column section. I am looking for a way to do this in the same Matrix visual.
Let me know if I can explain this better.
Thank you,
William F.
Solved! Go to Solution.
You may try adding a measure below.
Measure = IF ( NOT ( ISINSCOPE ( 'Table'[date] ) ), AVERAGEX ( VALUES ( 'Table'[date] ), CALCULATE ( SUM ( 'Table'[quantity] ) ) ) )
You may try adding a measure below.
Measure = IF ( NOT ( ISINSCOPE ( 'Table'[date] ) ), AVERAGEX ( VALUES ( 'Table'[date] ), CALCULATE ( SUM ( 'Table'[quantity] ) ) ) )
User | Count |
---|---|
122 | |
69 | |
67 | |
58 | |
52 |
User | Count |
---|---|
187 | |
94 | |
67 | |
63 | |
54 |