Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
23 | |
7 | |
7 | |
6 | |
6 |
User | Count |
---|---|
27 | |
12 | |
10 | |
9 | |
6 |