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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
arrrlette
Frequent Visitor

ALLEXCEPT fixed calc by month

I am trying to use the ALLEXCEPT function with a date in a calendar table. Basically, i want to tell it to allow it to filter to the month of the dates selected in the filter.

 

I am trying to get the "fixed funded count" column to instead of summing the entire time i select in my date slicer, to show the total for each month. so the first and second columns should match, but they dont:

arrrlette_0-1709667782611.png

 

 

here is my formula:

arrrlette_3-1709667975241.png

 


Here is my calendar table:

arrrlette_2-1709667873830.png

 

Any thoughts?

 






1 ACCEPTED SOLUTION
Dangar332
Super User
Super User

Hi, @arrrlette 

try to add .month after date in allexcept
like 

CALCULATE(SUM('Table'[value]),ALLEXCEPT('Table','Table'[date].[Month]))

View solution in original post

4 REPLIES 4
Dangar332
Super User
Super User

Hi, @arrrlette 

make a new column for month in Calender table
and use it in allexcept

if still not working then provide data

Dangar332
Super User
Super User

Hi, @arrrlette 

try to add .month after date in allexcept
like 

CALCULATE(SUM('Table'[value]),ALLEXCEPT('Table','Table'[date].[Month]))

this worked actually, i just needed to add same with .year as well. Thank you so much!!

that did SOMETHING - it now pulls the sum of the counts for the entire data set time period.

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.