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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

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