Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I am looking to create a card which will show the number of vendors used for the month. The report irs driven by slicers by year by month and I can currently get the vendor count in a table as a total at the bottom.
I currently do this by:
a measure with distinct count for the vendor number
visual filter for the GL actual column to filter out blanks
From the example above, I would be after a card displaying the value 14 being a vendor count, for the given period (set by slicers), is there a way to do this?
Thanks
Solved! Go to Solution.
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.
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
You are welcome.
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 52 | |
| 45 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 108 | |
| 108 | |
| 39 | |
| 33 | |
| 26 |