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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
ebrownretail
Resolver I
Resolver I

Page no longer filtering after measure added

Hi!

I am trying to use measure to help me determine what i need to order for a product. Everything is filtering correctly (filters are at the page level for a specific item number and store status). However when i add in this measure it no longer filters down to what I want. 

 

Any help would be appreciated!

 

Before measure is added - 328 store showing, and only those stores:

ebrownretail_0-1722700497928.png

 

After measure is added - more stores showing that is not part of the 328:

ebrownretail_1-1722701168736.png

 

Measure:

Build Order =
IF([Build Need] > 200, MROUND([Build Need], 450), IF(SELECTEDVALUE('Club Alignment'[Item Number], 533841), IF(SELECTEDVALUE('Club Alignment'[Status], 1), IF([Total Pipe] < 1, 450, BLANK()), BLANK()), BLANK()))
 
Only for Item # _____ and for clubs with a status of 1
i want it to look at the build need and if more than 200 is needed to order to the nearest 450.
If less than 200 is needed and they have on hand i want it to be 0 or blank.
If there is nothing in the pipeline and its less than 200 need i want it to be 450.
1 ACCEPTED SOLUTION
ebrownretail
Resolver I
Resolver I

I figured it out. I had to do a Sumx formula in a seperate measure to find the status. Then i could use that measure in my formula. Example below. 

 

I have a club table that get pulls into my visual that only lists club information. 

I have a seperate table that lists what the club status is 0 for inactive and 1 for active. Make sure this is a number column. 

I used this measure to find the club status as a measure Curr Status = CALCULATE(SUMX('Club Alignment', 'Club Alignment'[Status]))

 

Using that new measure, i was then able to list my if formulas and keep my status showing for only active clubs. 

 
Build Order =
IF([Build Need] > 200, MROUND([Build Need], 450), IF([Curr Status] = 1, IF([Total Pipe]<30, 450, BLANK()), BLANK() ))

 

View solution in original post

3 REPLIES 3
ebrownretail
Resolver I
Resolver I

I figured it out. I had to do a Sumx formula in a seperate measure to find the status. Then i could use that measure in my formula. Example below. 

 

I have a club table that get pulls into my visual that only lists club information. 

I have a seperate table that lists what the club status is 0 for inactive and 1 for active. Make sure this is a number column. 

I used this measure to find the club status as a measure Curr Status = CALCULATE(SUMX('Club Alignment', 'Club Alignment'[Status]))

 

Using that new measure, i was then able to list my if formulas and keep my status showing for only active clubs. 

 
Build Order =
IF([Build Need] > 200, MROUND([Build Need], 450), IF([Curr Status] = 1, IF([Total Pipe]<30, 450, BLANK()), BLANK() ))

 

mostho
Helper II
Helper II

I think you have to add "and not blank" criteria to your filters. (i had a similar issue where this was the solution which solved my problem)

lbendlin
Super User
Super User

Measures can only impact a visual, not an entire page. 

 

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).

Do not include sensitive information or anything not related to the issue or question.

If you are unsure how to upload data please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

Want faster answers? https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.