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
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
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.

Top Solution Authors