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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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