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
Anonymous
Not applicable

calendar problem ignoring month on measure

Hi,
I have a simple matrix with a sum and  the MONTH- YEAR column.
What I need is that the measure of the sum ignore the selected month filter, but not ignore the year filter.

So, If yo filter the year 2018 and the month MARCH , yo can see the columns 2018 - JANUARY, 2018 FEBREARY,  2018 MARCH
The actual month and the previus from the beggining of the year
I can not ignore the month using  ALL in my calendar table like this
SumFacturado = CALCULATE( Sum(money); ALL(calendario )

nether this

SumFacturado = CALCULATE( Sum(money); ALLEXCEPT(calendario; calendario[Month] )

please help!
2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Anonymous ,

 

You may add a separate table for Slicer, apply virtual relationship in DAX measure and then take advantage of Visual level filters.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi, Thanks for reply!!
I am sorry but I do not know how to add a separeta table for slicer and apply as a virtual relationship.
I have y tables: SEllS and CALENDAR.  In Calendar I have Year & Month
YEAR is working ok, but If I ignore the MONTH I see all the months of the year.

Thanks in advance!

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.