Forum Discussion
Vendor Count
- 8 years ago
Thanks Ashish,
You put me on the right track and ended using which seems to work:
vendor count = CALCULATE(DISTINCTCOUNT(Data1[Vendor Name]),'Data2'[Detail PnL Name]= "Materials")
The filter was struggling with the GL Actual Materials as I didn't mention is was a measure as below, also with values to excludes being blanks.
GL Actual Materials = CALCULATE(SUM(Data1[Actual_Amount]) ,Data2[Detail PnL Name]= "Materials")
Thanks
Nick
Hi,
May be a calculated field formula like this
=CALCULATE(DISTINCTCOUNT(Data[Vendor Name]),FILTER(Data,SUM(Data[GL Actual Materials])>0))
Hope this helps.
- nick90008 years agoFrequent Visitor
Thanks Ashish,
You put me on the right track and ended using which seems to work:
vendor count = CALCULATE(DISTINCTCOUNT(Data1[Vendor Name]),'Data2'[Detail PnL Name]= "Materials")
The filter was struggling with the GL Actual Materials as I didn't mention is was a measure as below, also with values to excludes being blanks.
GL Actual Materials = CALCULATE(SUM(Data1[Actual_Amount]) ,Data2[Detail PnL Name]= "Materials")
Thanks
Nick
- Ashish_Mathur8 years agoSuper User
You are welcome.