Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi, Im trying to calculate a distinct count of exporters and display this on a column chart with the snapshot month on the x axis. I want to exclude the exporters already counted in previous months so that each column will add up to the total of unique exporters so far this year of 178.
my code seems to have a distinct count per month but does not exclude any values counted in prior months.. what is wrong with my approach here?
I actually started with the comma syntax.. but as the measure didnt return what i was expecting i tried the && syntax.. ill revert oit back to comma again.. do you think this will now return the correct result?
no, it propably doesn't mattre that much.
Can't tell from what you've posted why it is not working. Are there other tables involved with an active relationship? for instance a date table? Or are you creating a computed column instead of a measure?
start by replacing the "&&" with commas in the calculatetable statements.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 9 | |
| 4 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 9 | |
| 9 | |
| 8 | |
| 7 |