Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Measure - IF statement

Good morning   I have a table with public holidays from various countries and it has an index column and it has a relationship with the DIM Date on the date columns. I also have another table with ...
  • amitchandak's avatar
    4 years ago

    Anonymous , Try to create a new column in date column


    Holiday = related(holiday[Holiday] )

    or

    Holiday = maxx(filter(holiday, date[Date] = Holiday[Date] ) , holiday[Holiday] )

     

    You need create a measure

    calculate(Countrows(Fact) , filter(Date, Date[Holiday] =1))