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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
atowriss1
Advocate I
Advocate I

DAX Formula Help

I am trying to add a Forecasted Amount to a matrix.  I have a tabale that houses Forecast Only, and it has an active relationship between MthEnd Date in itself and Date on my Date_Table.  The forecast file has a forecasted month column and a ME date column.  The ME date is when the forecast was completed and the forecasted month is the future months.  I have an inactive relationship between Forecasted Month and Date[Date].  I also have an inactive relationship between Actuals[Category] and Forecast Only[Category].

 

In my matrix, I want to show the remaining 2022 Forecast, based on the date slicer choice.  So, if I choose Aug 2022, I want to see Sept-Dec totaled in the forecast.

 

 

I have tried these 2 formulas:

 

Industry $$ FC Only = calculate(sum('Industry FC Only'[Forecast]),USERELATIONSHIP('Industry FC Only'[Category],'Industry Actuals $$'[Category]),'Dates_Table Indep'[Date]

***This shows the same total, no matter what

 

Industry $$ FC Only = calculate(sum('Industry FC Only'[Forecast]),USERELATIONSHIP('Industry FC Only'[Category],'Industry Actuals $$'[Category]),USERELATIONSHIP('Industry FC Only'[Forecasted Date],'Dates_Table Indep'[Date]))

***This show blank, no matter what.

Any help on how I can get it to calculate correctly?

 

Thanks

1 REPLY 1
Anonymous
Not applicable

Hi @atowriss1 ,

 

Based on your description, you want data after selecting a certain date.
First, for custom required date presentations, we can't associate our fact table with our date table.
We can use the MIN() function to get the date selected by the slicer, and then create a new measure to determine that it is greater than the sum of the date, less than the return of the date BLANK(), and then you can implement your needs.

If this method does not help you, you can provide your sample data in the form of a table or a .pbix file, and provide sample output data in the form of a table so that we can better help you.

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.