The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello Team,
@danextian @v-henryk-mstf @Anonymous @V1
I have a table where i need to have a new column based on "Alloc Entity Code" Column. In the New calculated column the values starting with "UC" character should only be displayed. Can anyone please help me with the DAX.
https://community.powerbi.com/t5/user/viewprofilepage/user-id/313
https://community.powerbi.com/t5/user/viewprofilepage/user-id/390395
https://community.powerbi.com/t5/user/viewprofilepage/user-id/396724
https://community.powerbi.com/t5/user/viewprofilepage/user-id/148838
https://community.powerbi.com/t5/user/viewprofilepage/user-id/245936
Solved! Go to Solution.
Hi @Anonymous ,
You could create a column as below:-
Column =
VAR _start_with =
LEFT ( 'Table (3)'[alloc_entity_code], 2 )
RETURN
IF ( _start_with = "UC", 'Table (3)'[alloc_entity_code] )
Output:-
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @Anonymous ,
You could create a column as below:-
Column =
VAR _start_with =
LEFT ( 'Table (3)'[alloc_entity_code], 2 )
RETURN
IF ( _start_with = "UC", 'Table (3)'[alloc_entity_code] )
Output:-
BR,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
User | Count |
---|---|
68 | |
63 | |
59 | |
54 | |
28 |
User | Count |
---|---|
182 | |
81 | |
64 | |
46 | |
38 |