Forum Discussion

filippoalicicco's avatar
filippoalicicco
Frequent Visitor
7 years ago
Solved

sum week end value at monday

    Good Monring experts!   I need help bucause I don't manage to create the mesaure in object.   I have a table with all days of week and i need to "sum" saturday and sunday on monday. I try w...
  • filippoalicicco's avatar
    filippoalicicco
    7 years ago

    Hi and thank you for your answer!!

     

    I have a problem with this peace of DAX:

     

    FILTER (
                    ALLSELECTED ( Table ),
                    YEAR ( Table[Date] ) = YEAR ( currdate )
                        && WEEKNUM ( Table[Date] ) = WEEKNUM ( currDate, 1 )

     

    When I write the YEAR DAX I can't insert table date. Is it normal???? 

  • Anonymous's avatar
    Anonymous
    7 years ago

    Hi filippoalicicco,

     

    >>When I write the YEAR DAX I can't insert table date. Is it normal???? 

    Can you please share more detail? BTW, my formula is a measure. Which connection mode you test, is it direct query?

     

    Regards,

    Xiaoxin Sheng