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! Request now

Reply
Anonymous
Not applicable

Filter Data per month from two tables

Hello,

I'm not sure if my problem is a model problem or a reporting one,

I have 3 related tables, using the following structure.

rkhalledi_0-1615903645499.png 

I want to display the cost of each user in Except O365_HR ( measure exists in AFFECTATIONS table ) per month,

Since there's no relation based on the date between the two tables, I'm getting some incorrect costs.

 

Filtering with Except O365_HR[Date] will get the rights users with wrong costs ( for example if the users exist n EXCEPT_O365_HR in only January, it will display the cost of January and February of this user because he exists in both months in the AFFECTATIONS table)

Using the AFFECTATIONS[date] filter will get the right costs for each user but will also display users that don't exist in the EXCEPT_O365_HR table in this filtered month.

 

Can you please help me find the logic to do this ?

 

3 REPLIES 3
Anonymous
Not applicable

@amitchandak 

I have created a sample pbix to describe the issue, how can i share it with you ?

Anonymous
Not applicable

Ofc @amitchandak,

 

The filter here is when using affectation (lastUpdate), correct cost with wrong users : 

rkhalledi_0-1615906665268.png

This one is when using Except O365_HR (lastUpdate) filter, correct users with wrong cost:

rkhalledi_1-1615906750043.png

Thank you.

amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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