cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

Re: Need help setting up a logistics visual

Yes that is exactly corrent sir.

I do appologise Dale, my head got abit messy with figuring out how to explane this, and yes, i dide add more conditions as i was trying to figure out the best way to use the data.

I should probably have mentioned that to

Highlighted
Microsoft
Microsoft

Re: Need help setting up a logistics visual

@Rovand

 

Hi Robin,

 

That's OK. I found a solution. Please reference this file: https://1drv.ms/u/s!ArTqPk2pu-BkgRhSiy4U2C9zaXVG

1. Create a new table "WH".

WH =
VALUES ( 'Table1'[WareHouse Number] )

2. Establish relationship.

3. Create a measure.

FinalMeasure =
VAR selectedWH =
    IF (
        HASONEVALUE ( WH[WareHouse Number] ),
        VALUES ( WH[WareHouse Number] ),
        BLANK ()
    )
VAR selectedWHvk2 =
    CALCULATETABLE (
        VALUES ( Table1[Item] ),
        FILTER (
            ALL ( 'Table1' ),
            'Table1'[Item Class] = 2
                && 'Table1'[WareHouse Number] = selectedWH
        )
    )
RETURN
    CALCULATE (
        IF (
            MIN ( 'Table1'[Item] ) IN selectedWHvk2
                && MIN ( 'Table1'[Item Class] ) = 1,
            1,
            0
        ),
        ALL ( WH )
    )

4. Create several visuals.

5. Filter the result. (Visual level filter)Need help setting up a logistics visual.jpg

 

 

 

 

 

 

 

 

 

 

 

 

 

Note: 1. The slicers are from different tables. Don't mix up.

2. All the columns are needed in the visual as the picture showed. 

 

Best Regards!

Dale

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

View solution in original post

Highlighted
Helper II
Helper II

Re: Need help setting up a logistics visual

Well done sir, well done!

Thank you very mutch Dale!

 

Highlighted
Microsoft
Microsoft

Re: Need help setting up a logistics visual

My pleasure. 

 

Best Regards!

Dale

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

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors