Forum Discussion

D_PBI's avatar
D_PBI
Post Partisan
1 year ago
Solved

Using two different relationships between the same two tables in the same measure - how?

Hi, I have a measure that calculates three tables (3 x calculatetable functions) that are appended via the union function. The measure simply counts the rows from the union. My screenshot below is o...
  • ribisht17's avatar
    1 year ago

    Hello D_PBI 

     

    Check out this guide on managing multiple date relationships in Power BI.

     

    FilteredTable =
    CALCULATETABLE(
    'Agreement',
    USERELATIONSHIP(dimDate[Date], Agreement[ReceivedDate]),
    Agreement[ExecutionDate] >= [MinDate],
    Agreement[ExecutionDate] <= [MaxDate]
    )

     

    Regards,

    Ritesh

    Community Champion

    Please mark the answer if helpful so that it can help others

    Dance-Sing with Data Projects - YouTube