Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
13 | |
12 | |
11 | |
11 |
User | Count |
---|---|
19 | |
14 | |
14 | |
11 | |
9 |