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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Supermat
Helper I
Helper I

Countrows

Hi,
I Have a table (Click here to Sample) where there are our productions orders.
In this table i have Order number (Key_Odl), products parts that i need to make order (Codice articolo figlio) and i have a colum where i can see if parts are avaible to make orders, also i have a check box. I need to have in my dashboard one colum that let me know if the selected orders is "ok" or "not ok".  I think that i need to countrows a single order and then count how many "Ok" i have. If Ok is equal to Number of item i can make my order if not i can't do.

I hope I was clear

 

Supermat_0-1668009813736.png

 







1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Ciao @Supermat ,

you can try this

Column = 
IF(
    MINX(
        FILTER(
            'Facts7',
            'Facts7'[Order] = EARLIER('Facts7'[Order])
        ),
    'Facts7'[Check]
    ) = "NO",
"Not Deliver",
"To be Delivered"
)

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

3 REPLIES 3
Supermat
Helper I
Helper I

Perfect!!! Thx

mangaus1111
Solution Sage
Solution Sage

Ciao @Supermat ,

you can try this

Column = 
IF(
    MINX(
        FILTER(
            'Facts7',
            'Facts7'[Order] = EARLIER('Facts7'[Order])
        ),
    'Facts7'[Check]
    ) = "NO",
"Not Deliver",
"To be Delivered"
)

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

The colum work, but now there are some duplicated value

Supermat_0-1668068912165.png

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors