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
I have a dataset, simplified version below, what I have been asked to provide a tile which highlights when Data has been changed and also the TO and FROM values ?
Example on data below would show
03/09/2021 Changed from 8400 to 8500
05/09/2021 Changed from 8500 to 8400
Date | Planned | Changed |
01/09/2021 | 8400 | NO |
02/09/2021 | 8400 | NO |
03/09/2021 | 8500 | YES |
04/09/2021 | 8500 | NO |
05/09/2021 | 8400 | YES |
06/09/2021 | 8400 | NO |
07/09/2021 | 8400 | NO |
08/09/2021 | 8400 | NO |
Is this possible and any ideas or suggustions would be appreciated?
Solved! Go to Solution.
Hi @Spudduk ,
Create two measures.
previous = CALCULATE(SUM('Table'[Planned]),FILTER(ALL('Table'),'Table'[Date] = EDATE(SELECTEDVALUE('Table'[Date]),-1)))
tile = IF(SELECTEDVALUE('Table'[Changed])="YES",MAX('Table'[Date])&" Change From " & [previous] & " To " & SELECTEDVALUE('Table'[Planned]),BLANK())
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards
Community Support Team _ Polly
Hi @Spudduk ,
Create two measures.
previous = CALCULATE(SUM('Table'[Planned]),FILTER(ALL('Table'),'Table'[Date] = EDATE(SELECTEDVALUE('Table'[Date]),-1)))
tile = IF(SELECTEDVALUE('Table'[Changed])="YES",MAX('Table'[Date])&" Change From " & [previous] & " To " & SELECTEDVALUE('Table'[Planned]),BLANK())
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards
Community Support Team _ Polly
@Spudduk , Try a new column like
new column =
var _max = maxx(filter(Table, [Date] <earlier([date])),[Date])
return
if(maxx(filter(Table, [Date] <earlier([date])),[planned]) <> [Planned] , "No", "Yes")
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 |
---|---|
134 | |
91 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |