March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Solved! Go to Solution.
Hi @DM_95 ,
Based on your description I have created a simple sample:
Then create a slicer:
Apply the measure:
Measure =
var _a = SELECTCOLUMNS('Date',"Week",[Week])
var _b = MINX(_a,[Week])-1
return CALCULATE(SUM(Sales[Net Sales]),FILTER(ALL('Date'),[Week]=_b))
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @DM_95 ,
Based on your description I have created a simple sample:
Then create a slicer:
Apply the measure:
Measure =
var _a = SELECTCOLUMNS('Date',"Week",[Week])
var _b = MINX(_a,[Week])-1
return CALCULATE(SUM(Sales[Net Sales]),FILTER(ALL('Date'),[Week]=_b))
Final output:
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
118 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |