Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi,
I want to track when a new Variant is being registered/produced in my dataset in the column changeover
My table looks similar to this
| ID | VARIANT | Changeover |
| 1 | A | |
| 2 | A | 1 |
| 3 | A | 1 |
| 4 | B | 0 |
| 5 | B | 1 |
| 6 | B | 1 |
| 7 | C | 0 |
Basically everytime that the previous row is not matching the next row, post changeover or 1 or 0 (W/E)
Blue equals desired state and is what i want to achieve
Hope someone can help
BR
Kristian
Solved! Go to Solution.
I solved it like this
@Anonymous , Create a new column like
new column =
var _max= Maxx(filter(Table, [ID] = earlier([ID])-1 ), [VARIANT])
return
if(_max =[VARIANT] ,1,0)
I solved it like this
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 43 | |
| 39 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 30 | |
| 23 |