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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
arb1782
Helper III
Helper III

Multiple measures on single chart with multiple dates on X axis

Hi

 

I've got multiple measures I want to put on one time series graph. On the page I want to set this chart up, I also have a date slicer set up with months as big buttons. The months are sourced from a date table which links to the columns entitled 'xxxx month'  (see below) and the measures have the relevant relationship specified with USERELATIONSHIP.

 

Measure 1 = Number of records created, plotted by record creation date (week commencing), using default relationship Month (date table) to Record creation month

Measure 2 = Number of record reviews, plotted by record review date (week commencing), using relationship Month (date table) to Record reviewed month

Measure 3 = Number of closed records, plotted by record closed date (week commencing), using default relationship Month (date table) to Record closed month

 

How might I go about putting these all on 1 graph but using the separate week commencing fields on the x axis?

 

Dummy data here:

 

IndexRecord creation dateRecord creation week commencingRecord creation monthRecord reviewed dateRecord reviewed week commencingRecord reviewed monthRecord closed dateRecord closed week commencingRecord closed month
101/06/202001/06/2020June08/06/202008/06/2020June15/06/202015/06/2020June
202/06/202001/06/2020June09/06/202008/06/2020June16/06/202015/06/2020June
303/06/202001/06/2020June10/06/202008/06/2020June17/06/202015/06/2020June
404/06/202001/06/2020June11/06/202008/06/2020June   
505/06/202001/06/2020June      
609/07/202006/07/2020July13/07/202013/07/2020July20/07/202020/07/2020July
710/07/202006/07/2020July      
811/07/202006/07/2020July15/07/202013/07/2020July   
912/07/202006/07/2020July16/07/202013/07/2020July   

 

Thanks

arb

5 REPLIES 5
v-kelly-msft
Community Support
Community Support

Hi @arb1782

 

Create 3 measures as below:

 

Measure 1 = CALCULATE(COUNT('Table'[Record creation week commencing]),FILTER(ALL('Table'),'Table'[Record creation month]=SELECTEDVALUE('Table 2'[Month])))
Measure 2 = CALCULATE(COUNT('Table'[Record reviewed week commencing]),FILTER(ALL('Table'),'Table'[Record reviewed month]=SELECTEDVALUE('Table 2'[Month])))
Measure 3 = CALCULATE(COUNT('Table'[Record closed week commencing]),FILTER(ALL('Table'),'Table'[Record closed month]=SELECTEDVALUE('Table 2'[Month])))

 

And you will see:

Annotation 2020-07-10 155924.pngAnnotation 2020-07-10 160414.png

Check the .pbix file attached.

 
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

 

Thanks for the advice so far. I need to get the x axis to be 'week commencing' and for the measures to plot on that axis using data from three different 'week commencing' fields. I've played with your PBI file Kelly but it doesn't seem to solve my problem.

 

arb

Hi  @arb1782 ,

 

Can you show me your expected output?Which "week commencing " do you wanna use?

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

Hi @v-kelly-msft

 

I'm looking for all 3 'week commencing' fields to be plotted on the same axis. If I do this, the measures only plot against one of the fields, meaning that 1 measure is accurate and the 2 others are inaccurate.

 

The date that would be on the visual would be:

 

 Number of recorded createdNumber of records reviewedNumber of records closed
01/06/20205  
06/07/20204  
08/06/2020 4 
15/06/2020  3
13/07/2020 3 
20/07/2020  1

 

Unfortunately I can't manipulate the tables in PowerQuery because my week commencing fields are calculated fields.

 

arb

amitchandak
Super User
Super User

@arb1782 , refer if this blog can help

https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

For week in calendar you can refer :

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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