Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
i have a problem calling the names of sku coloumns into one coloumn, based on the value every day. have any suggestion? Thanks 😊
Solved! Go to Solution.
Thanks,
its works. but i didn't use SUM because the result was an error
SKU Run =
SWITCH(
TRUE(),
NOT(ISBLANK('Sample Table'[SKU A])),"SKU A",
NOT(ISBLANK('Sample Table'[SKU B])),"SKU B",
NOT(ISBLANK('Sample Table'[SKU C])),"SKU C",
NOT(ISBLANK('Sample Table'[SKU D])),"SKU D",
BLANK()
)
Thanks,
its works. but i didn't use SUM because the result was an error
SKU Run =
SWITCH(
TRUE(),
NOT(ISBLANK('Sample Table'[SKU A])),"SKU A",
NOT(ISBLANK('Sample Table'[SKU B])),"SKU B",
NOT(ISBLANK('Sample Table'[SKU C])),"SKU C",
NOT(ISBLANK('Sample Table'[SKU D])),"SKU D",
BLANK()
)
Hi Wicak, can you tell what error you are facing?
Sory,
There seems to be a value model in a row that has its own value. so SUM can't work
Hi @Wicak ,
You can use a calculated measure like this
SKU Run =
SWITCH(
TRUE(),
NOT(ISBLANK(SUM('Sample Table'[SKU A]))),"SKU A",
NOT(ISBLANK(SUM('Sample Table'[SKU B]))),"SKU B",
NOT(ISBLANK(SUM('Sample Table'[SKU C]))),"SKU C",
NOT(ISBLANK(SUM('Sample Table'[SKU D]))),"SKU D",
BLANK()
)
Then pull this measure into the table or matrix.
The output looks like this
Regards,
Aditya
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |