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
Hi,
I have no idea if this is possible and I have been pottering about forums but haven't come across anything that works.
I have this data, which if plotted into a table visual shows me this:
I want to create two KPI tiles or Cards: one that says the current week's delta and one that says the previous week's delta. I'm assuming I want to create a new measure like 'Current Delta' which filters my Delta measure.
All of the columns in this table are measures besides the Week Number column which comes from my Date Table.
Any ideas?
Hi @AmyMisa ,
From what I am understanding, delta is a measure, right?
You could create a new measure to return the current week's delta:
Current Week =
SUMX (
FILTER ( ALLSELECTED ( 'TABLE NAME' ), [Week Number] = WEEKNUM ( TODAY (), 2 ) ),
[Delta]
)
Previous week's delta:
Previous Week =
SUMX (
FILTER ( ALLSELECTED ( 'TABLE NAME' ), [Week Number] = WEEKNUM ( TODAY (), 2 ) )-1,
[Delta]
)
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Try this:
Current Delta =Calculate([Delta],[Week number]=max([Week number])-1)
Thank you @aymantm - unfortunately that didn't work, it gave me a value of '1'.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
21 | |
16 | |
13 | |
13 | |
9 |
User | Count |
---|---|
36 | |
31 | |
20 | |
19 | |
17 |