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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Steph83
Frequent Visitor

how to show only items that have had a status change

Hello community,

 

I have a list of Vessels attributed to a Fleet. Each month, I am recording the status.

I have several years of records and hundred of vessels.

I would like to display only the vessels which have had fleet changes

 

For example, I have 4 vessels, 2 of them have had fleet changes:

 

01/05/2022IGLOOFleet A
01/06/2022IGLOOFleet A
01/07/2022IGLOOFleet A
01/05/2022CAPTAIN LEONFleet A
01/06/2022CAPTAIN LEONFleet A
01/07/2022CAPTAIN LEONFleet B
01/05/2022SWEETFleet C
01/06/2022SWEETFleet C
01/07/2022SWEETFleet C
01/05/2022UNICORNFleet B
01/06/2022UNICORNFleet C
01/05/2022UNICORNFleet C

 

I would like to display:

DateCategoryStore

01/05/2022CAPTAIN LEONFleet A
01/06/2022CAPTAIN LEONFleet A
01/07/2022CAPTAIN LEONFleet B
01/05/2022UNICORNFleet B
01/06/2022UNICORNFleet C
01/05/2022UNICORNFleet C

 

I thank you in advance for your help!

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@Steph83 

A measure like this will count the number of category / store combinations.

Filter Measure = 
VAR _CategoryStore = 
    CALCULATETABLE(
        SUMMARIZE(
            'Table',
            'Table'[Category],
            'Table'[Store]
        ),
        ALLEXCEPT('Table','Table'[Category]))
RETURN
    COUNTROWS(_CategoryStore)

Then we can apply that as filter to the table:

jdbuchanan71_0-1650125551457.png

 

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

@Steph83 

A measure like this will count the number of category / store combinations.

Filter Measure = 
VAR _CategoryStore = 
    CALCULATETABLE(
        SUMMARIZE(
            'Table',
            'Table'[Category],
            'Table'[Store]
        ),
        ALLEXCEPT('Table','Table'[Category]))
RETURN
    COUNTROWS(_CategoryStore)

Then we can apply that as filter to the table:

jdbuchanan71_0-1650125551457.png

 

@jdbuchanan71 

Hi, thank you that's perfect.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.