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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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