Forum Discussion

Kpham's avatar
Kpham
Icon for Resolver I rankResolver I
4 years ago

userelationship measurement in visual

Dear all,

I want to create a measure in my date table which allows me to create visuals based on different definition when an order has been sold

Sales Date = CALCULATE(max(DIM_Date[Date])
                ,USERELATIONSHIP(DIM_Date[ID_Date],'FACT_Sales Amount and Conditions'[T_SD SalesDocuments.ID_SalesDate]))
Sales Document Date = CALCULATE(MAX(DIM_Date[Date]),
                            USERELATIONSHIP(DIM_Date[ID_Date],'FACT_Sales Amount and Conditions'[ID_SalesDocumentDate]))

This works like intended in a table visualisation, but not when I use e.g. a bar chart. I would rather not create a measure of the facts as I then should duplicate all the measures.

 

1 Reply

  • Please provide a more detailed explanation of what you are aiming to achieve. What have you tried and where you are stuck?