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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
a__miller
Frequent Visitor

Filter showing multiple values

Hi, the filter is showing multiple values when it is only supposed to show the value when the Week Offset equals 0. Is there something wrong with the measure?

 

a__miller_0-1655930141813.png

 

4 REPLIES 4
a__miller
Frequent Visitor

Thank you for your replies! 

 

@Ashish_MathurFical Year, Week offset and Period have been dragged from the Calendar Table, and there is a One to Many Relationship between the Calendar Date Column and the Date Column in the Backlog table. 

 

@flath , The Updated Past Due Backlog measure's goal is to filter Cumulative Past Due Backlog into the current Fiscal Period (Currently in Period 6).  Below is a snapshot of the values that feed the Updated Past Due Backlog Measure. Here is the Cumulative Past Due Backlog Measure.  The values are only duplicated within the current period, and are filtered out of other fiscal periods. 

 

WHSL Cumulative Past Due Backlog =
CALCULATE(
    [WHSL - Past Due Open Backlog],
    FILTER(
        ALLSELECTED('Calendar'[Date]),
        ISONORAFTER('Calendar'[Date], MAX('Calendar'[Date]), DESC)
    )
)

 

a__miller_0-1655994399188.png

 

 

Unfortunately, adding FILTER in the measure creates an error

a__miller_1-1655998900263.png

 

 

 

Hi,

Share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Ashish_Mathur
Super User
Super User

Hi,

Ensure that Fical Year, Week offset and Period have all been dragged from the Calendar Table.  There should be a relationship (Many to One and Single) between the Date column of the Data Table to the Date column of the Calendar Table.  You may simplify your measure to:

= CALCULATE([Cumulative Past Due Backlog - WHSL],'Calendar'[Week Offset]=0)

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
flath
Helper II
Helper II

Hi, @a__miller ,

 

I can figure out two possibilities:

1. The measure "Cumulative Past Due Backlog - WHSL" was written with REMOVEFILTERS() ou ALL().
In this case, instead of filtering the measure using a boolean expression, you could use it inside a FILTER as following:

CALCULATE( [Cumulative Past Due Backlog - WHSL], FILTER( 'Calendar'[Week Offset] IN {0})

 

2. The relationship between table 'Calendar' and the table from where the values of the measure "Cumulative Past Due Backlog - WHSL" come from is broken or need to be edited.

 

Regards

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.