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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Measure not filtering with slicer all other measure filter

Hi Expert

 

All my mesure filter expect for one and i cannot see the wood for the trees. I have two tables in my model a FACT tables - table A and a Dim_Date Table - Table B 

Table B (DATE) links to Table A  (Created Date)

 

measure

Previous Period B/f =
VAR MinDate = MIN('STG Dim_Date'[FirstDayOfMonth])
VAR MaxDate = MAX('STG Dim_Date'[FirstDayOfMonth])
VAR LastWeek = MAX('STG Dim_Date'[LastDayOfMonth])

RETURN

CALCULATE(SUM('Table A'[Closed]),
FILTER(ALLEXCEPT('Table A','Table A'[Full_Name]),
'Table A'[Created_Date] < MinDate &&
'Table A'[Date_Closed] >= MaxDate && 'Table A'[Date_Closed] <= LastWeek && 'Table A'[Created_Date]<>BLANK()))
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi All

I found the solution applied another filter based on the team.

CALCULATE(SUM('Tabla A'[Cerrado]),
FILTER(ALLEXCEPT('Tabla A','Tabla A'[Full_Name], 'Table A 'Teams]),
'Tabla A'[Created_Date] < MinDate &&
'Tabla A'[Date_Closed] >-MaxDate && 'Tabla A'[Date_Closed] <' LastWeek && 'Tabla A'[Created_Date]<>BLANK())
This gave the correct answer. Thanks Experts

View solution in original post

3 REPLIES 3
Pragati11
Super User
Super User

Hi @Anonymous ,

 

You will have add more detail here like screesnhots on what is not filtering.

You haven't mentioned - what slicer you are using and what is not filtering.

Just posting the measure firmula is not helping much.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Sorry i cannot upload from my laptop??? otherwise i would have provided an image.

Anonymous
Not applicable

Hi All

I found the solution applied another filter based on the team.

CALCULATE(SUM('Tabla A'[Cerrado]),
FILTER(ALLEXCEPT('Tabla A','Tabla A'[Full_Name], 'Table A 'Teams]),
'Tabla A'[Created_Date] < MinDate &&
'Tabla A'[Date_Closed] >-MaxDate && 'Tabla A'[Date_Closed] <' LastWeek && 'Tabla A'[Created_Date]<>BLANK())
This gave the correct answer. Thanks Experts

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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