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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.