The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hello all,
I have a sample table which countains 4 columns; Name, Date, Steps and Terrain. Not every name has data on each date, and I want to fill those missing dates. I want to fill the Steps column with 0 and want to leave the Terrain column empty (null value). In this sample Peter contains all dates in the dataset but ideally I want to fill based on the min and max Date value. I have come across several solutions which come close but I can't quite manage to get them to work for my situation. Below are examples of my data and the desired result:
Solved! Go to Solution.
@Zepox Try these steps:
Step 1: Create a new calendar table using DAX
Step 3: Create a measure in Calendar table:
@Zepox Try these steps:
Step 1: Create a new calendar table using DAX
Step 3: Create a measure in Calendar table:
Thank you for your reply, this works as intended and translates to my actual data very well.
I still have some issues trying to make calculations based on the generated data, but I will figure those out along the way. Thanks again!
User | Count |
---|---|
71 | |
64 | |
62 | |
50 | |
28 |
User | Count |
---|---|
117 | |
75 | |
62 | |
54 | |
43 |