Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
patfee
Frequent Visitor

DAX Union with Measure Column

Table_1 contains Name, Description and Date

Table_2 contains Name, Description

 

in Table_2 i add the Date column by using measure column. The Date is based on a slicer value

 

When i then use DAX to Union both Table_1 and 2 i get an error as the tables are not equal.

 

in other words, the Date in Table_2, created by a measure, is not seen as a "real" column

 

How can i solve this please?

4 REPLIES 4
Anonymous
Not applicable

Hey @Anonymous 

 

I have a similar issue, did you figure how to make the table to refresh on slicer changes?

https://community.powerbi.com/t5/DAX-Commands-and-Tips/Reflecting-slicers-from-GUI-in-a-table-of-measures/m-p/2011735#M44718

 

KS

TomMartens
Super User
Super User

Hey @Anonymous , if you want to have this table appear in the fields pane, the simple answer is: no.

 

You can use this table as a virtual table  inside other measures as input for calculation though.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
TomMartens
Super User
Super User

Hey,

 

this DAX statement creates a table:

Table = 
UNION(
    Table1
    ,ADDCOLUMNS(
        SUMMARIZE('Table2'
            ,Table2[ID]
            ,Table2[thisorthat]
        )
        ,"amount", [amount]
    )
)

there is a measure "[amount]" this is added as a column using the function ADDCOLUMNS(...)

 

But you have to be aware, that tables (outside of a measure) that are based on a DAX statement will only be re-calculated on data refresh and not if a query is issued, e.g. if a slicer is changed.

 

Regards,

Tom 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Hey Tom,

Is there anyway to make the table responsive to slicers?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.