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

DAX help needed when dealing with multiple bridge tables (many to manys) and multiple dates

Hi All,

 

I am struggling to get the correct DAX when 

 

Data Model:

amylewisAZ_1-1616517651107.png

 

Formulas:

-- Awarded Grants Counts
Total Grants Awarded = CALCULATE(DISTINCTCOUNT('Grant Award Info'[GrantID])
,USERELATIONSHIP('Date'[Date], 'Grant Award Info'[AwardDate])
)

TotalDonorBudgetApproved = CALCULATE(SUM('Grant Award Info'[DonorLOABudget]),USERELATIONSHIP('Date'[Date], 'Grant Award Info'[AwardDate]))

 

-- Not Awarded:

Total Grants NotAwarded = CALCULATE(
DISTINCTCOUNT('Grant Pipeline History'[GrantKey]),
FILTER (ALL('Grant Pipeline History'[Grant Status]),
'Grant Pipeline History'[Grant Status]= "Not Awarded"),USERELATIONSHIP('Date'[Date],'Grant Pipeline History'[Status Date]))

 

Total Not Awarded $ = CALCULATE(
SUM('Grant Submission Info'[TotalDonorBudgetSubmitted]),
FILTER (ALL('Grant Pipeline History'[Grant Status]),
'Grant Pipeline History'[Grant Status]= "Not Awarded"),USERELATIONSHIP('Date'[Date],'Grant Pipeline History'[Status Date]))

 

Issue:

here you can see the issue... top one is the totals with only the GratDetail.Domain (no many to many relationships.... 2nd one is with Region and the totals... you can see the grand totals are correct, but the details are not. last one is area and same issue.

 

amylewisAZ_2-1616517726184.png

 

Any Advice?

 

Thank you in advance,

Amy

1 REPLY 1
Anonymous
Not applicable

Hello @amylewisAZ 
Can you please share your pbix file after removing the sensitive data?

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.