Forum Discussion
DAX: Creating a measure to conditional format between a calendar table and data table w start/end
Hello Everyone,
Im trying to create a matrix visual that will highlight that is inbetween start and end date by title off of a calendar column.
Please see below
table1
table2 date
What I have so far -
example solution that what im trying to get to
K3nnysiu , refer my blogs on this topic
Between Dates - Dates between
Measure way
Power BI Dax Measure- Allocate data between Range: https://youtu.be/O653vwLTUzM
https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785
Table Way
https://amitchandak.medium.com/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b
https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2
2 Replies
- amitchandak
Super User
K3nnysiu , refer my blogs on this topic
Between Dates - Dates between
Measure way
Power BI Dax Measure- Allocate data between Range: https://youtu.be/O653vwLTUzM
https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-or-end-date/ba-p/1503785
Table Way
https://amitchandak.medium.com/dax-get-all-dates-between-the-start-and-end-date-8f3dac4ff90b
https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2- K3nnysiuNew Member
Thanks, however the sumx dax with cross join doesnt work when you want to create a relationship between other tables.
Generating a brand new table with every combination however did I wanted to avoid that since it created a giant new table.
Thanks,
K