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 August 31st. Request your voucher.
How to replace value in calculated table with condition or select any specific columns.
Hi @Anonymous -replace or modify values based on your requirements
SSL =
VAR Unique_SSL = DISTINCT(
UNION(
VALUES('Base file Current week'[SSL]),
VALUES(CIS[SSL]),
VALUES(YOY[SSL]),
VALUES('YTD Utilization'[_SSL])
)
)
VAR Updated_Table =
ADDCOLUMNS(
Unique_SSL,
"_SSL",
IF(
NOT(ISBLANK([SSL])),
"1" & MID([SSL], 2, LEN([SSL]) - 1), // Replace the first character with '1'
BLANK() // Or handle other conditions as needed
)
)
RETURN
Updated_Table
Hope it works
Proud to be a Super User! | |
User | Count |
---|---|
78 | |
77 | |
38 | |
31 | |
28 |
User | Count |
---|---|
106 | |
98 | |
55 | |
49 | |
47 |