Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Syndicate_Admin
Administrator
Administrator

Fill in date data

Hello everyone

I need help in something that has me stuck. I have a table appended to PowerBi using Direct Query with dates and data. The data are annual but in the table they only appear for a specific day (January 1 of each year). In Power BI, I relate it to a calendar table than other sources; when selecting by month I only get data in January, and if I select another month the result is white (the data is a sum measure). I want the January data to be displayed when I select any month of the year.

Thank you

NachoAl_0-1647595650331.pngNachoAl_1-1647595679291.png

1 ACCEPTED SOLUTION

This should work:

result.jpg

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

5 REPLIES 5
Syndicate_Admin
Administrator
Administrator

Worked perfectly, thanks

Syndicate_Admin
Administrator
Administrator

It didn't work for me. The data in the original table only appears every January 1, then in power bi I want to see the data at the monthly level, and that it is repeated during all the months of the year. I don't know if I explain myself.

Thank you

This should work:

result.jpg

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Can you provide sample data and a depiction of the expected outcome?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






PaulDBrown
Community Champion
Community Champion

Try:

 

Poblacion =
CALCULATE ( SUM ( Table[Poblacion] ), ALL ( 'Calendar Table'[Month] ) )

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.