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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bipro-atlanta
Frequent Visitor

rolling up multiple rows into a single row and column

i have a date level granularity table  , it has something called indicator stating if it had a missing date  for a session.  the requirment i have is currently looking to aggregate the missing value using concatenation.. depending on date range provided .. Some user can provide a day level , some can provide week date range and some can provide monthly or even longer date 

 

Thi is how my table looks ( but with more deeper granularity ). Missing Date is only filled if i have missed a session in that particular day , if i haven't missed it , it shows null. 

Session ID Session State ID Session Date Session MinutesSession Missed Dates
97658209/1/201630null
97658209/2/201630null
97658209/3/201630null
97658209/8/20160null
97658209/7/201930null
97658209/16/2016309/16/2016
97658209/19/2016309/19/2016
97658209/17/201645null
97658209/15/201630null
97658209/22/201630null
97658209/9/201645null
97658209/20/2016309/20/2016
97658209/21/2016309/21/2016
97658209/28/201645null
97658209/4/2016459/4/2016
97658209/5/2016459/5/2016
97658209/6/2016459/6/2016
97658209/12/2016459/12/2016
976582010/3/20164510/3/2016
976582010/4/20164510/4/2016
976582010/5/20164510/5/2016

 

Using Power Query  , i can concatenate the table with data with missing date aggregating either at a month or weekly level. no issues doing their.  So essentially missing date 

assuming i selected week 10/04/2016 to 10/10/2016 my result set should show 

 

exactly same thing but in a row and display missing dates 10/04, 10/05/ 

 

if selected october month then my missing date column should display 10/03, 10/04, 10/5... if i select year then it should include dates.. the concatenation of the dates should be dynamic in nature.. 

I am looking for some run time dax for this kind of situation as i do not know the dates the user would select 

 

it could be single day , mid week , weekly , monthly or yearly or any custom date range .. So missing date should fit the values between start and end date of the date range selected by user. 

 

Any suggesiton on how should i be approaching this .. 

 

thoughts 

 

 

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.