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
PaulSB
Regular Visitor

DAX Formula

My first question was answered promptly by Charlotte, v-zhanti, but perhaps I should be approaching the problem in a diffferent way:

 

‘Dimaddon’ Table with 2 columns: Fiscal Year, Cost and single row per year

Relationship with main table, ‘Fixed’ based on Fiscal Year

Filter on Fiscal Year

 

Then what is DAX code to calculate: Fixed[Basis] + Dimaddon[Cost]

3 REPLIES 3
amitchandak
Super User
Super User

@PaulSB ,

one way is

 

sumx(Fixed , Fixed[Basis] +related( Dimaddon[Cost]) )

 

or

 

sum( Fixed[Basis] )+ Sum(Dimaddon[Cost])

 

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

Thanks,

I tried both and variations thereof, but none worked.  I have never managed to fetch the [Cost] from the Dimaddon table.

Further details of my issue:

The ‘Dimcal’ table includes a [Fiscal Year] column

The ‘Dimaddon’ table has two columns: [Fiscal Year] and [Cost], with one Cost value  per Fiscal Year

The ‘Fixed’ table includes a [Basis] measure

The ‘Details’ Table includes a [Date] column

 

Relationships:

‘Dimcal’[Fiscal Year] to ‘Dimaddon’[Fiscal Year], Many to One, Single

‘Details’[Date] to ‘Dimcal’[FullDateAlternateKey], Many to One, Single

‘Details’[Detailsid] to ‘Fixed’[Detailsid], One to One, Both

 

Objective:

Using a single select filter in a Visual to select a Fiscal Year,

Add a ‘Fixed’[Basis] to ‘Dimaddon’[Cost]

Such that the output from that sum changes with the [Fiscal Year] filter selection

 

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.