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
I need help creating a measure based on data in a table. Please see example blow
I have a table Named ModelMaster
In the table I have fields MODELCODE VEHTYPE
Table Name: ModelMaster
MODELCODE VEHTYPE
ASD12 C
DSA12 T
AAA33
I need to create a measure named VEH RC Eligable based on the following logic
VEH RC Eligable = If VEHTYPE = "C" then "Tri"
else If VEHTYPE = "T" then "Bi"
else If VEHTYPE = "" then "UNK"
end if
end if
end if
result
MODELCODE VEHTYPE VEH RC Eligable
ASD12 C TRI
DSA12 T BI
AAA33 UNK
Please advise as to how best I might accomplish this using a measure.
Thank You in advance for any assistance you can provide.
PS Colors are only provide as highlight, colors are not needed as part of the visual ouput
Solved! Go to Solution.
I believe I figured it out
Hi @ScottWill ,
You can mark your own answers as correct so that more people can be helped.
Best Regards
Lucien
I believe I figured it out
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 | |
85 | |
69 | |
54 | |
45 |
User | Count |
---|---|
204 | |
106 | |
98 | |
65 | |
54 |