Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Kpham
Resolver I
Resolver I

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.

Kpham_0-1642629718543.pngKpham_1-1642629779550.png

 

1 REPLY 1
lbendlin
Super User
Super User

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.