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 the following Power Query that works fine in a normal table.
But now i want to use the same formule in a DAX table but thats not possible for so far i know.
So the question is can somebody help me by writing the formule in DAX?
@icturion , Try like
Summarize(
union(
selectcolumns(Table, "Date", Table[datein], "Work1", [Work1], "Work2", 0, , "Work3", 0),
selectcolumns(Table, "Date", Table[dateout], "Work1", 0, "Work2", [Work2] , "Work3", 0),
selectcolumns(Table, "Date", Table[datecheck], "Work1", 0, "Work2", 0 , "Work3", [Work3])
), [Date], "Work1", sum([Work1]), "Work2", sum([Work2]), "Work3", sum([Work3]), "Total", sum([Work1])+sum([Work2])+sum([Work3]))
Where do i need to place the formula?
Within tabel1? As a Calculated column or measure?
If i place it in a measure i get the following error:
Can't find table with column [work1]
@icturion Where do i need to place the formula?
@amitchandak If i place it in a new table is still get the same error.
Unable to identify the column [work1] in the table
From this table 'tabel1':
I want to create a new table using DAX that shoud have this as a result:
if i use your formula to create a new table i get the following:
Are I am doing something wrong?
Hi @icturion ,
Please provide a sample .pbix file or sample data that can be copied.
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 65 |