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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
manalla
Helper V
Helper V

JIRA tables - issues(bugs/defects) created during sprint time (between start and end dates)

Hi, I need if an issue (bug/defect) is created during the sprint cycle. Below are the two data sets which has relation ship via different other JIRA tables.

I would like to create IsCretedInSpritnt? filed based on the dates. At the moment i dont have any date dimension tables. But all date fields are DATE datatype. 

Logic should be Issue Created Date should fall in between Sprint Start and End Dates then YES, else NO.

 

BOARD_CHARTS_SPRINT_NAMEBOARD_CHARTS_SPRINT_START_DATEBOARD_CHARTS_SPRINT_END_DATE
Sprint 17/20/20228/2/2022
Sprint 28/3/20228/16/2022
Sprint 38/17/20228/30/2022
Sprint 48/31/20229/20/2022

 

ISSUE_KEYISSUE_CREATEDBOARD_CHARTS_SPRINT_NAMEIsCreatedInSprint?
219766/30/2022Sprint 1No
219775/15/2022Sprint 1No
219787/25/2022Sprint 1Yes
219798/1/2022Sprint 1Yes
219807/10/2022Sprint 2No
219818/10/2022Sprint 2Yes
219828/6/2022Sprint 2Yes
219837/28/2022Sprint 2No

 

I tried to follow this - https://community.powerbi.com/t5/DAX-Commands-and-Tips/Lookup-value-if-date-is-between-two-dates/m-p... but since I have two different datasets given DAX is not working.

 

Any leads will be really helpful.

2 REPLIES 2
amitchandak
Super User
Super User

@manalla , a new column

IsCreatedInSprint =

var _cnt= countx(filter(Table1, Table2[BOARD_CHARTS_SPRINT_NAME] = Table1[BOARD_CHARTS_SPRINT_NAME] && Table2[ISSUE_CREATED] >= Table1[BOARD_CHARTS_SPRINT_START_DATE] && Table2[ISSUE_CREATED] <= Table1[BOARD_CHARTS_SPRINT_END_DATE]) , Table1[BOARD_CHARTS_SPRINT_NAME])

return

if(isblank(_cnt), "No", "Yes")

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

Hi @amitchandak, Its returning differently. Please see below screen shot. Am i missing anything?

 

manalla_0-1666888826829.png

Thanks

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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