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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
Pbiuserr
Post Prodigy
Post Prodigy

Change table granularity

Hello,

I have a table where granurality is yearly, like

 

IDAMOUNTDATE
ID999100029.04.2022
ID999200010.03.2021


My expected result is

IDAMOUNTDATE
ID999100001.01.2022
ID999100001.02.2022
ID999100001.03.2022
ID999100001.04.2022
ID999100001.05.2022
ID999100001.06.2022
ID999100001.07.2022
ID999100001.08.2022
ID999100001.09.2022
ID999100001.10.2022
ID999100001.11.2022
ID999100001.12.2022
ID999200001.01.2021
ID999200001.02.2021
ID999200001.03.2021
ID999200001.04.2021
ID999200001.05.2021
ID999200001.06.2021
ID999200001.07.2021
ID999200001.08.2021
ID999200001.09.2021
ID999200001.10.2021
ID999200001.11.2021
ID999200001.12.2021

Ideally, id like to change the granurality to monthly (12 months), as the table I need to join it to is monthly

Are there any ways to do that?

1 REPLY 1
amitchandak
Super User
Super User

@Pbiuserr , Create another date in power bi using Date or DateTime funtions and then use

https://amitchandak.medium.com/power-query-get-all-dates-between-the-start-and-end-date-9ad6a84cf5f2

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.