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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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