The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
can someone tells me the difference between these two:
WithCounTX= countx(FILTER(MaterialTable, MaterialTable[StockLocation]<> "888" && MaterialTable[Transporttype]<> "100"),calculate(Distinktcount))
vs.
WithCalculateFunction = CALCULATE(DISTINCTCOUNT(MaterialTable[Materialnumber]),filter( Materialtable, Material[StockLocation]<> "888"), filter(Materialtable, Materialtable[Transporttype]<> "100"))
I also don't get the same results, but should the underlying "virtual table" not filtering the same?
Best.
Solved! Go to Solution.
@Applicable88 , first thing make sure first has
CALCULATE(DISTINCTCOUNT(MaterialTable[Materialnumber])
Can you a sample pbix after removing sensitive data.
@Applicable88 , first thing make sure first has
CALCULATE(DISTINCTCOUNT(MaterialTable[Materialnumber])
Can you a sample pbix after removing sensitive data.
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |