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 Experts
Need and if statement to do the following based on the flag column.... (see sample date)
if we have 1 in the flag column then in the new status column insert the text from Amended Status column otherwise Current Status value in New status column.
| ID | Current Status | Amended Status | Flag | New Status |
| 1 | New Business | |||
| 2 | New Business | Renewal | 1 | |
| 3 | Renewal | |||
| 4 | New Business | Renewal | 1 | |
| 5 | Renewal | |||
| 6 | New Business | Renewal | 1 | |
| 7 | Renewal | |||
| 8 | New Business | |||
| 9 | Renewal | New Business | 1 | |
| 10 | Renewal | New Business | 1 |
Solved! Go to Solution.
@Anonymous
Column = IF('Table'[Flag]=1,'Table'[Amended Status],'Table'[Current Status])
Measure = IF(max('Table'[Flag])=1,max('Table'[Amended Status]),max('Table'[Current Status]))
@Anonymous
Column = IF('Table'[Flag]=1,'Table'[Amended Status],'Table'[Current Status])
Measure = IF(max('Table'[Flag])=1,max('Table'[Amended Status]),max('Table'[Current Status]))
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.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 39 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |