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.
I need conditional formatting on the below matrix by week number.
I have set up as gradiant from red to white to green.
The problem is that it clearly is looking at the sums by location based on all of the data rather than looking at it by week number since there is no green in most weeks.
The week number is located in a date table and the date table is marked as such. I posted what my date table looks like in case it matters.
How would I go about fixing this? I am still very new to PowerBI.
Solved! Go to Solution.
Hi
You can use a if or swtich to achieve this, Below measue should work. Notice that i have changed the whole base measure for more efficiency.
I gave that a try and things improved but I need to also have it ignore the locations that did not collect anything (so all the 0s or blanks). How would I go about that?
Hi
Create a column by concatenating your week and location as below.
Then based of this sales and this column create a measure to rank your weekly sales.
Is it what you are looking for, Let me know if you still need some help.
I gave that a try and things improved but I need to also have it ignore the locations that did not collect anything (so all the 0s or blanks). How would I go about that?
Hi
You can use a if or swtich to achieve this, Below measue should work. Notice that i have changed the whole base measure for more efficiency.
Thank you!!!! I appreciate your help so much!!!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
22 | |
7 | |
6 | |
6 | |
6 |
User | Count |
---|---|
27 | |
10 | |
10 | |
9 | |
6 |