Forum Discussion
Akbarov
Helper I
4 years agoSUMIF >= column1 AND <= column2
Hello, I am trying to use following SUMIF formula for DAX measure: =SUMIFS('(Table 1) Month'!G:G, '(Table 1) Month'!A:A,Output!K17, '(Table 1) Month'!B:B,Output!L17, '(Table 1) Month'!C:C,...
Akbarov
Helper I
4 years agoActuly my data is not really data so tutorial which you provided wont help me.
Can you please take a look?
https://drive.google.com/file/d/1dokknVDmqXdJSmb2yFrOwoRdIjVDhLfl/view?usp=sharing
DimaMD
Solution Sage
4 years agoAkbarov Make two-way communication and your measure Period 2 will work,
- Akbarov4 years ago
Helper I
Thank you soooo much!
- DimaMD4 years ago
Solution Sage
Akbarov after having fun with Period1, the event is the following
Period1 = var _sel1 = SELECTEDVALUE('Start Date'[Month From]) var _sel2 = SELECTEDVALUE('End Date'[Month To]) var res = sumx( filter( '(Table 1) Month', AND('(Table 1) Month'[Client] = [Client], '(Table 1) Month'[Policy Year] = [Policy Year]) && AND( '(Table 1) Month'[Month] >= _sel1 , '(Table 1) Month'[Month] <= _sel2)), '(Table 1) Month'[Days of Month]) return res