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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Difficulty creating bridge for 2 measures on one line graph

I have 2 rolling 14 day average calculations and Im hoping to display them (highlighted) on the same line graph:

 

However I've tried to create a date bridge and another table to relate to and still no luck with either approach.

 

Notification vs. Epi3.PNG

Where is should look more like:

Notification vs. Epi4.PNG

 

Can anyone help with this?

 

SEE FILE ATTACHED

https://www.dropbox.com/s/ksi9fm0kbzpj1hg/Notification%20vs.%20Epi.pbix?dl=0

 

 

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

Hi @Anonymous ,

 

Are event count and epi count correct results?

If yes, we can create a new date table and two measures to meet your requirement.

 

1.Create a new date table. (note: there is no relationship)

 

New date = CALENDAR("2020/1/1","2020/12/31")

 

diff1.jpg

 

2. Then we can create two measures.

 

New epi count = 
CALCULATE([Cumulative Rate - Epi Count],FILTER(Sheet1,Sheet1[Epi Date]=MAX('New date'[Date])))

 

new event count = 
CALCULATE([Cumulative Rate - Event Count],FILTER(Sheet1,Sheet1[Event Date]=MAX('New date'[Date])))

 

diff2.jpg

 

If it doesn’t meet your requirement, could you please show the exact expected result based on the table that you have shared?

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

BTW, pbix as attached.

View solution in original post

3 REPLIES 3
v-zhenbw-msft
Community Support
Community Support

Hi @Anonymous ,

 

How about the result after you follow the suggestions mentioned in my original post?

Could you please provide more details or expected result about it If it doesn't meet your requirement?

If you've fixed the issue on your own please kindly share your solution.

If the above posts help, please kindly mark it as a solution to help others find it more quickly.

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

v-zhenbw-msft
Community Support
Community Support

Hi @Anonymous ,

 

Are event count and epi count correct results?

If yes, we can create a new date table and two measures to meet your requirement.

 

1.Create a new date table. (note: there is no relationship)

 

New date = CALENDAR("2020/1/1","2020/12/31")

 

diff1.jpg

 

2. Then we can create two measures.

 

New epi count = 
CALCULATE([Cumulative Rate - Epi Count],FILTER(Sheet1,Sheet1[Epi Date]=MAX('New date'[Date])))

 

new event count = 
CALCULATE([Cumulative Rate - Event Count],FILTER(Sheet1,Sheet1[Event Date]=MAX('New date'[Date])))

 

diff2.jpg

 

If it doesn’t meet your requirement, could you please show the exact expected result based on the table that you have shared?

 

Best regards,

 

Community Support Team _ zhenbw

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

BTW, pbix as attached.

amitchandak
Super User
Super User

@Anonymous , Create a date table, Join both dates with that. (If they are from same table), one join will be inactive , you can activate that using userelation

rolling 14 will similar to

Rolling 14 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-14,Day))

 

In case you need to use userelation -https://www.youtube.com/watch?v=e6Y-l_JtCq4

To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors