Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. 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~
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 9 | |
| 8 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |