Forum Discussion
PowerMyBI
Helper I
5 years agoFilter between tables
Hi Power BI Community, I am trying to sum and filter results between two tables. The result we are hoping to achieve is to sum the available hours in Table1 based on if the staff member is employ...
- 5 years ago
PowerMyBI , Create a new column in table 2
sumx(filter(Table1, Table1[start date] <= Table2[Month] && (isblank(Table1[EndDate]) || Table1[EndDate] >=Table2[Month])),[HoursAvailable])
amitchandak
Super User
5 years agoPowerMyBI , Create a new column in table 2
sumx(filter(Table1, Table1[start date] <= Table2[Month] && (isblank(Table1[EndDate]) || Table1[EndDate] >=Table2[Month])),[HoursAvailable])
- PowerMyBI5 years ago
Helper I
Yes this worked perfectly thank you amitchandak ! I see what I was doing wrong in my first attempts now.