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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
learner03
Post Partisan
Post Partisan

Problem with filter

I need below view-

1) First table with the warehouse zone(A,B,C) and then the total of location that have 0 quantity, then the total seperated into Bulk 1.2, bulk 1.7, bulk half and bulk skid. This is to know the at granular level which Bin Location is empty.

2) on clicking the number , for example if user clicks cordinate-warehouse A with Bulk 1.2, then the Location table should show those locations that are empty in warehouse  and has bin type as bulk 1.2.

I couls achieve by total bin but not by bulk 1.2, bulk 1.7, bulk half and bulk skid.

1 ACCEPTED SOLUTION
MFelix
Super User
Super User

Hi @learner03 ,

 

Create a Bulk Table with the folliwng data:

 

Bulk

Bulk 1.2
Bulk 1.7
Bulk Half

Bulk Skid

 

Add the following measure:

Bulks Measure =
CALCULATE (
    COUNTROWS (
        FILTER (
            Bins,
            (
                IF (
                    Bins[Sum TOTAL QTY] = 0,
                    AND (
                        ISBLANK ( Bins[Sum TOTAL QTY] ),
                        Bins[BinType] = SELECTEDVALUE ( Bulks[Bulk] )
                    )
                )
            )
        )
    )
)

This will replace the other 4 measures you created now add a matrix with the following setup:

  • Rows: Wharehouse
  • Columns: Bulk
  • Values: Bulks Measure

Now on the location add the Bulks measure has a filter and set has is not blank result below and attach.:

MFelix_1-1640016287304.pngMFelix_2-1640016288343.png

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

1 REPLY 1
MFelix
Super User
Super User

Hi @learner03 ,

 

Create a Bulk Table with the folliwng data:

 

Bulk

Bulk 1.2
Bulk 1.7
Bulk Half

Bulk Skid

 

Add the following measure:

Bulks Measure =
CALCULATE (
    COUNTROWS (
        FILTER (
            Bins,
            (
                IF (
                    Bins[Sum TOTAL QTY] = 0,
                    AND (
                        ISBLANK ( Bins[Sum TOTAL QTY] ),
                        Bins[BinType] = SELECTEDVALUE ( Bulks[Bulk] )
                    )
                )
            )
        )
    )
)

This will replace the other 4 measures you created now add a matrix with the following setup:

  • Rows: Wharehouse
  • Columns: Bulk
  • Values: Bulks Measure

Now on the location add the Bulks measure has a filter and set has is not blank result below and attach.:

MFelix_1-1640016287304.pngMFelix_2-1640016288343.png

 

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors