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.
Hello,
Need help with counting. I would like to have a calculated column table1[column2] with the total qty for value "000001_UPS_P_RES" in table2[ship method code] counted by table[invoice date] using table1[date] as the reference to match the dates
So for ship method code 000001_UPS_P_RES I would like to count how many time it appears for Invoice Date in table 2 using the date column in table 1 and displayed in table1[column2]
I hope this makes sense. Thanks in advance for the help
Solved! Go to Solution.
Probably multiple ways of doing this, here is one.
In ShipCode table (table 2), create a measure like:
mCountShipCodes = COUNTROWS(ShipCodes)
Make sure your tables are related on date.
Create table visualization that has [Date] (from table 1), ShipCode from table 2, and your measure.
If no relationship between two tables, you can also try
Column2 = COUNTROWS(FILTER(Table2,Table2[ship method code]="000001_UPS_P_RES"&&Table2[invoice date]=Table1[Date]))
If no relationship between two tables, you can also try
Column2 = COUNTROWS(FILTER(Table2,Table2[ship method code]="000001_UPS_P_RES"&&Table2[invoice date]=Table1[Date]))
Probably multiple ways of doing this, here is one.
In ShipCode table (table 2), create a measure like:
mCountShipCodes = COUNTROWS(ShipCodes)
Make sure your tables are related on date.
Create table visualization that has [Date] (from table 1), ShipCode from table 2, and your measure.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |