The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
85 | |
84 | |
36 | |
34 | |
32 |
User | Count |
---|---|
93 | |
79 | |
66 | |
55 | |
52 |