Forum Discussion
corbincdc
6 years agoFrequent Visitor
Adding missing dates each category for a kpi dashboard
Hello - We are setting up a KPI dashboard we have target value of 10 records each day per Property Name . I have already aggrigated the data for the number of records per day. This shown below. My...
corbincdc
6 years agoFrequent Visitor
Thanks for the repy. However, I am not seeing where this would add dates for all the different properties. The first set of data below is the original data and the second one is what it needs to show.
| Data Set Original | |
| Property Name | Date |
| 5Fifty5 | 1/18/2020 |
| 5Fifty5 | 1/20/2020 |
| 5Fifty5 | 1/22/2020 |
| 5Fifty5 | 1/24/2020 |
| 5Fifty5 | 1/27/2020 |
| 7th Street Brownstones | 1/18/2020 |
| 7th Street Brownstones | 1/20/2020 |
| 7th Street Brownstones | 1/22/2020 |
| 7th Street Brownstones | 1/24/2020 |
| 7th Street Brownstones | 1/27/2020 |
| Transform to: | |
| 5Fifty5 | 1/18/2020 |
| 5Fifty5 | 1/19/2020 |
| 5Fifty5 | 1/20/2020 |
| 5Fifty5 | 1/21/2020 |
| 5Fifty5 | 1/22/2020 |
| 5Fifty5 | 1/23/2020 |
| 5Fifty5 | 1/24/2020 |
| 5Fifty5 | 1/25/2020 |
| 5Fifty5 | 1/26/2020 |
| 5Fifty5 | 1/27/2020 |
| 7th Street Brownstones | 1/18/2020 |
| 7th Street Brownstones | 1/19/2020 |
| 7th Street Brownstones | 1/20/2020 |
| 7th Street Brownstones | 1/21/2020 |
| 7th Street Brownstones | 1/22/2020 |
| 7th Street Brownstones | 1/23/2020 |
| 7th Street Brownstones | 1/24/2020 |
| 7th Street Brownstones | 1/25/2020 |
| 7th Street Brownstones | 1/26/2020 |
| 7th Street Brownstones | 1/27/2020 |
- Icey6 years agoCommunity Support
Hi corbincdc ,
Please check if this can meet your requirements:
1. Create a Calendar table.
Calendar = CALENDAR( MIN( 'Table'[Date] ), MAX( 'Table'[Date] ) )2. Create relationships between the two tables.
3. Create Measures.
For numerical columns, create measures like so:
Value Measure = SUM( 'Table'[Value] ) + 0For text columns, create measures like so:
Text Measure = IF ( MAX ( 'Table'[Text] ) = BLANK (), "NULL", MAX ( 'Table'[Text] ) )4. Create Table visuals.
For more details, please check the attached PBIX file.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.