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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.