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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bblackwell3
Helper I
Helper I

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 I
Helper I

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

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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