cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

store not selling

Hi All,

I need help on how to calcuate Stores that are not selling in a DAX measure. Not sample data. I just need DAX formular. here is my Query

Store Not selling =
CALCULATE(COUNTROWS(VALUES(table[Stores])),
[sales]= 0)
Iklizo_0-1653257895657.png

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 
Please use

MyMeasure =
CALCULATE (
    COUNTROWS ( VALUES ( Site[Site Corporate Number] ) ),
    FILTER ( Site, [sales] = 0 )
)

View solution in original post

2 REPLIES 2
tamerj1
Super User
Super User

Hi @Anonymous 
Please use

MyMeasure =
CALCULATE (
    COUNTROWS ( VALUES ( Site[Site Corporate Number] ) ),
    FILTER ( Site, [sales] = 0 )
)
Fowmy
Super User
Super User

@Anonymous 

Can you share some sample data with the desired output to have a clear understanding of your question?
Mention whether you want a calculated column or measure.
You can either paste your data in the reply box or save it in OneDrive, Google Drive, or any other cloud-sharing platform and share the link here.

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors