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.
A. Current Matrix "Sales of Food by Day of Week "
- Rows: Food dimension
- Columns: Date dimension
- Values: [Sales] measure
B. Wanted Result
- Same Rows and [Sales] measure .
- I can turn on the "Total" column by using Subtotal or Grand Total matrix settings.
- Question: I want to add extra "custom" subtotal columns ("Weekdays" and "Weekend" columns in blue background). What should I do to achive custom adding columns in a matrix?
Solved! Go to Solution.
By creating a 2nd day type, weekend/weekday, you can put both into the column part of the matrix and get this result. Will that work?
My fields are as follows:
See my PBIX file on how I did this. There is a full date table here and I added the Day Type column. If the day is SatSun, then Weekend, else Weekday.
NOTE: I just did this with the June 2021 Power BI desktop, so if you get an error when opening try and click through it, or upgrade.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingBy creating a 2nd day type, weekend/weekday, you can put both into the column part of the matrix and get this result. Will that work?
My fields are as follows:
See my PBIX file on how I did this. There is a full date table here and I added the Day Type column. If the day is SatSun, then Weekend, else Weekday.
NOTE: I just did this with the June 2021 Power BI desktop, so if you get an error when opening try and click through it, or upgrade.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThanks @edhans for your short workaround, it gives the expected sub-total columns.
Great! Glad I was able to help @mybarbie9917
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThis 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 |
---|---|
81 | |
76 | |
61 | |
37 | |
33 |
User | Count |
---|---|
99 | |
56 | |
51 | |
42 | |
40 |