Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi, @Anonymous
You can try the following methods.
Measure = CALCULATE(COUNT('Table'[STORE-SKN]),FILTER(ALLEXCEPT('Table','Table'[SKN]),[Inventory]<=0))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
want to calculate another col with count of Out os stock store by SKN. total count of store for each skn
Hi, @Anonymous
I have modelled some of the data to hopefully match your situation.
Measure = CALCULATE(COUNT('Table'[STORE-SKN]),ALLEXCEPT('Table','Table'[SKN]))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
above calculation gives me Count of stores for an SKN, can we add count store with inventory less then or equal to 0. this will give stores out of inv for SKN.
Hi, @Anonymous
You can try the following methods.
Measure = CALCULATE(COUNT('Table'[STORE-SKN]),FILTER(ALLEXCEPT('Table','Table'[SKN]),[Inventory]<=0))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Based on the data you have provided, what kind of output do you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
12 | |
11 | |
7 | |
6 |