Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all, I am looking to produce a table or matrix that sums the number of sales over each of the last 4 weeks. I gather to do this I require 4 measures, one for each week - below gives most recent week, can anyone advise how to amend it for previous week? I am guessing it needs a -1 somewhere but not sure where.
Solved! Go to Solution.
Hi, @Anonymous
I suggest having a dim-date table.
In my opinion, if you have the dim-date table with the WEEK OFFSET column, that can make it easy to create a simple measure.
However, if you do not have a week offset column in your dim date table, please try something similar to the below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Thanks that is very kind.
Hi, @Anonymous
I suggest having a dim-date table.
In my opinion, if you have the dim-date table with the WEEK OFFSET column, that can make it easy to create a simple measure.
However, if you do not have a week offset column in your dim date table, please try something similar to the below.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
97 | |
84 | |
67 | |
60 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |