Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hello guys,i ran into a slight issue concerning my calendar function..the month function on my y axis are blank and do not return any value,and also my calendar table date and fact data date are not corresponding,my fact data date only has 2023 dates while my calendar date has 2023 and 2024 dates which has been causing a great conflict in my visuals,what do you think is the best way forward to this?
https://drive.google.com/file/d/1B4evZsPDqjQ7zyLrEty4bZJBUEC63Qdt/view?usp=drivesdk
Thats the link to the data set for better understanding
Solved! Go to Solution.
This happens because the data types of the two fields of the join relationship do not match.
In this case, the date of the fact table is with time, while the date of the date table is without time, so the two don't match, causing the DAX engine to automatically add empty rows.
You can go into PowerQuery and change the data type of the date field in the fact table to Date instead of DateTime.
Or, just change the data type to "Whole Number", then change back to datetime type.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
This happens because the data types of the two fields of the join relationship do not match.
In this case, the date of the fact table is with time, while the date of the date table is without time, so the two don't match, causing the DAX engine to automatically add empty rows.
You can go into PowerQuery and change the data type of the date field in the fact table to Date instead of DateTime.
Or, just change the data type to "Whole Number", then change back to datetime type.
Did I answer your question? If yes, pls mark my post as a solution and appreciate your Kudos !
Thank you~
User | Count |
---|---|
17 | |
17 | |
14 | |
12 | |
12 |
User | Count |
---|---|
10 | |
9 | |
8 | |
7 | |
7 |