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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.