Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hello, I need help writing a DAX query that will return all SKUs that have more than 3 units of available stock in each Branch Code.
Since I will apply some IF functions for some product category, filtering the tables prior to creating the dashboard, won't help.
Solved! Go to Solution.
@andreas789 , Try a measure like
countx(filter(summarize(Table, [SKU], "_1", distinctCOUNT(Table[Branch_code]), "_2", calculate(distinctCOUNT(Table[Branch_code]), filter(Table, Table[Unit_available_stock] >3))), [_1] =[_2]), [SKU])
@andreas789 , Try a measure like
countx(filter(summarize(Table, [SKU], "_1", distinctCOUNT(Table[Branch_code]), "_2", calculate(distinctCOUNT(Table[Branch_code]), filter(Table, Table[Unit_available_stock] >3))), [_1] =[_2]), [SKU])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
User | Count |
---|---|
25 | |
17 | |
12 | |
12 | |
10 |
User | Count |
---|---|
33 | |
27 | |
16 | |
14 | |
13 |