Forum Discussion

energie01's avatar
energie01
New Member
3 years ago
Solved

Dax syntax error

Hello i'm new beginner with POWER BI

I follow some lessons from a book.

But by making an UNION with Filters a recieve a syntax error.

What can by wrong in this DAX formula?

 

boekingopties1 =
UNION(
boekingopties;
FILTER ( boekingunits; [product_id] ="P037" || [product_id] = "P038")
)
 
  • If found it

     

    In the example of te book tells:  boekingopties; but that's wrong is t must be boekingopties,   

     

    thanks anyway

3 Replies

  • Hi,

    the formula seems good. The fact is that you are creating non a Measure but a Table

    In Modeling select New table and i think i will function

    If this post is useful to help you to solve your issue, consider giving the post a thumbs up and accepting it as a solution!

      • energie01's avatar
        energie01
        New Member

        If found it

         

        In the example of te book tells:  boekingopties; but that's wrong is t must be boekingopties,   

         

        thanks anyway