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

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

Reply
paris
Helper V
Helper V

Slicer with multiple tables (daily and not daily data)

Hi All,

Please help. When I select city and time range by slicers, I want to show two daily graphs.
however, Sales data is when it is sold, Sales target is monthly basis while temperature is daily basis. It makes complicated to set up relationship. 

2021_02_09_power_bi.JPG

 

 

 

All the best,
Paris

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

Hi, @paris 

You can try to create a inactive relationship between field Monthly(calendar) and field 'Date'(calenadar) :

50.png

Then use function 'userelationship' create measure 'Target(monthly)'  as below:

 

Target(monthly) = CALCULATE(sum('Sales Target'[Target]),USERELATIONSHIP('Calendar'[Monthly],'Sales Target'[Monthly]))

 

The result will show as below:

51.png

 

 

Please check my sample file for more details.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @paris 

You can try to create a inactive relationship between field Monthly(calendar) and field 'Date'(calenadar) :

50.png

Then use function 'userelationship' create measure 'Target(monthly)'  as below:

 

Target(monthly) = CALCULATE(sum('Sales Target'[Target]),USERELATIONSHIP('Calendar'[Monthly],'Sales Target'[Monthly]))

 

The result will show as below:

51.png

 

 

Please check my sample file for more details.

 

Best Regards,
Community Support Team _ Eason

amitchandak
Super User
Super User

@paris , You can use month start date or month end date(Target) and join it with date table on date

 

refer this video :https://www.youtube.com/watch?v=yPQ9UV37LOU

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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.