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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
bblackwell3
Helper II
Helper II

Populating dates between text data types

Hey All. I have a SharePoint site that has Start and End dates for migrating applications. The values are not actually date types but have values for start and end dates such as <=2021, 2022 Q4 etc. I have been asked to produce bar chart visuals that count these applications in each respective year/quarter starting with their start date and ending at the end dates. My question is how to populate the "dates" in between the start and end dates, when they do not exist in the data? Two examples are below

bblackwell3_0-1656338865522.png

 

5 REPLIES 5
bblackwell3
Helper II
Helper II

Forgot to add an excel representation of what I am trying to achieve

 

bblackwell3_0-1656342500517.png

 

CNENFRNL
Community Champion
Community Champion

In theory, you can calculate the gap this way.

CNENFRNL_0-1656341312184.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Thanks and good idea. However, I don't need to identify a gap per se. I need to count each instance of application appearing during the gap, in the correct Year and Quarter

amitchandak
Super User
Super User

@bblackwell3 ,

You can refer if my blog on this topic can help

https://community.powerbi.com/t5/Community-Blog/How-to-divide-distribute-values-between-start-date-o...

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Thanks for the reply. How can I use this logic when only have the Year and Quarter values available?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.

Top Kudoed Authors