Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have a list of accounts with agreements in place, this table holds the 'valid from' and the 'valid to' date.
I have another table which carries the opportunity data for all accounts and have created a measure that calculates the total value of the opportunities and I can use a slicer to filter the opportunities by date manually.
I want to relate the agreement 'from' and 'to' date to the opportunity start date so I have a concept of the value for each account relative to the period of the agreement. At present I have to use the slicer to achieve the same dates as the valid to and from dates.
I read this article and I think this is on the right lines but I'm not that advanced with DAX
Can anyone help?
Solved! Go to Solution.
Hi @hayleyh87 ,
Current power bi not support to use one date field to filter on date range who defined by multiple date columns.
You can consider creating a expand table to store whole range records and link to the original table. After these, you can use date field to filter table records whose date range(defined by two date fields) contains specific date(from data filter).
Spread revenue across period based on start and end date, slice and dase this using different dates
Regards,
Xiaoxin Sheng
Hi @hayleyh87 ,
Current power bi not support to use one date field to filter on date range who defined by multiple date columns.
You can consider creating a expand table to store whole range records and link to the original table. After these, you can use date field to filter table records whose date range(defined by two date fields) contains specific date(from data filter).
Spread revenue across period based on start and end date, slice and dase this using different dates
Regards,
Xiaoxin Sheng
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |