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
Hello. PBIX file is in Direct Query. Please see table below. I have a Phase Column. What I want is the Phase2 Column. We will get Phase2 column for this condition:
If Phase= blank then blank
else
extract Phase2 characters after the last _ in Phase Column.
stx_jobtype_txt | NC.IN | Phase | Phase2 |
NC 110_Estimates__90Complete | NC | NC 110_Estimates | Estimates |
IN 610_CO EQ_Estimate__90Complete | IN | IN 610_CO EQ_Estimate | Estimate |
NC.IN 720_Dehu_Estimate__40Contract Executed | NC.IN | NC.IN 720_Dehu_Estimate | Estimate |
012 Service_Service Call | |||
NC 120_Rough Builder Walk__90Complete | NC | NC 120_Rough Builder Walk | Rough Builder Walk |
IN 642_CO Duct_Builder_Walk__90Complete | IN | IN 642_CO Duct_Builder_Walk | Walk |
Thank you.
Solved! Go to Solution.
it works with this formula without the var
Phase3 =
IF(NOT ISBLANK ('stx__legacy_fsjob'[Phase]),PATHITEMREVERSE(SUBSTITUTE('stx__legacy_fsjob'[Phase],"_","|"),1))
pls try this
it works with this formula without the var
Phase3 =
IF(NOT ISBLANK ('stx__legacy_fsjob'[Phase]),PATHITEMREVERSE(SUBSTITUTE('stx__legacy_fsjob'[Phase],"_","|"),1))
If Phase column is a measure would it affect the formula. I entered the formula above but this error occurs.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
84 | |
66 | |
54 | |
43 |
User | Count |
---|---|
203 | |
106 | |
98 | |
65 | |
56 |