Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I'm aiming to maintain the Column Subtotal in a Matrix as YTD, while other columns represent individual months. It works perfectly without any month filters applied (the total is sum of all months, which is coincidently YTD values):
But applying a month filter alters the Total column to reflect only the selected month(s).
Can the Total column always reflect the sum of all months, unaffected by month filters?
Solved! Go to Solution.
Hi @Renna ,
Change your YTD Revenue dax as follow.
Hi @Renna ,
Can you share your sample pbix file.
As I think you have added wrong field to ALL function.
Thanks
It works! Thank you so much!
Hi @Renna ,
use INSCOPE function.
Dax query should be like follow.
Change the table and column names as your data model.
Amount = IF(INSCOPE(Calender[Month]) , CALCULATE(SUM('Sales'[SalesAmount])),CALCULATE(SUM('Sales'[SalesAmount]) , ALL(Calender[Month]))
Thanks
DISU.
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 |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |