This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi All,
I have two tables:
Orders table (Contains 1 row per orders placed with customer and revenue data as whole)
Order line items table (Contains brief Order data with line items bought within the order)
I used below formula to create a new column in 'Orders' table' which is referring values from 'Order Line Items' table and assigning values in new column. Now I need to create a new column in 'Orders' table itself.
What is the SQL equivalent of the following DAX (Power BI) Formula:
Order Table column =
VAR Brand = CALCULATE ( SELECTEDVALUE ( 'Order Line Items'[Brand] ) )
RETURN
IF (
ISBLANK ( Brand ),
"Mixed Order",
Brand
)
Hi, @Anonymous
Maybe you can try the following syntax to update the data in Column 'Brand‘.
Update TableName set xxxx where xxxx
Best Regards,
Community Support Team _ Eason
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 37 | |
| 30 | |
| 29 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 68 | |
| 45 | |
| 33 | |
| 24 | |
| 23 |