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
FrankMcQ
Frequent Visitor

Problems with Calendar to get a timeline column chart

Hi

I have three sources of information describing a job start & end dates, when jobs were quoted and when jobs were invoiced. They are all linked by a Job ID.

I'm trying to create a timeline chart that would allow me to see the amount quoted and invoiced for each month. Something like:

Invoice & Quote TimelineInvoice & Quote Timeline

I built a model and I'm getting into trouble with relationships to the dates not calculating as I expected. I either get the quotes correct or the invoices correct based on what link I make active.

Here is the model:

Model.png

and the resulting Chart:

Chart Output.png

I can make the quotes relationship active then I get the right results for quotes, likewise for invoices I get them right if I set it as active, but the quotes needs to be inactive.

Is there a way I can get both relations working so the chart gives me the correct values in the correct month?

Any help would be gratefully received.

Here is a link to the test model I built... Link 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi . @FrankMcQ 

If  Table "Quotes" and Table "Calendar " relationship is inactive.

Take a try to create a measure  by using  function of "userelationship  "  and put the measure into the visual to replace the field of "quote value" .

 

Measure = CALCULATE(SUM(Quotes[Quote Value]),USERELATIONSHIP(Quotes[Quote Date],'Calendar'[Date]))

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi . @FrankMcQ 

If  Table "Quotes" and Table "Calendar " relationship is inactive.

Take a try to create a measure  by using  function of "userelationship  "  and put the measure into the visual to replace the field of "quote value" .

 

Measure = CALCULATE(SUM(Quotes[Quote Value]),USERELATIONSHIP(Quotes[Quote Date],'Calendar'[Date]))

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.