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
eliasayy
Impactful Individual
Impactful Individual

show dates with no data

hello i have a table called carriers and a date table with all days of calender.

i want to find which carrier has no data o na specific date to show in a table in dashboard.

here;s an example:

imagine that today is 7 january so todays date, i usually get the data 1 day before 7 jan so last dates i receive data should be 6 jan for carrier A,B and C, but as you see below, i only have B that shows me 6 jan, and i have missing days too that arent all fileld from 1 jan to 6 jan.

heres the ful lexample:

i have the given data on me with values on these dates:

 

carrierdate
A1-Jan
A3-Jan
A5-Jan
B6-Jan
3-Jan

 

and a calender table i created,

 

i want the results on the dashboard to be like this where it shows me when i dont have data :

 

carrier  missing date
A2-Jan
A4-Jan
A6-Jan
B1-Jan
B2-Jan
B3-Jan
B4-Jan
B5-Jan
C1-Jan
C2-Jan
C4-Jan
C5-Jan
C6-Jan

 

any help please?

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @eliasayy 

 

You can try the following methods.

Date Table:

Date = CALENDAR(MIN('Table'[date]),MAX('Table'[date]))

vzhangti_0-1660703801839.png     vzhangti_2-1660703868541.png

Measure:

Missing = IF(SELECTEDVALUE('Date'[Date])<>SELECTEDVALUE('Table'[date]),1,0)

vzhangti_3-1660706261642.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @eliasayy 

 

You can try the following methods.

Date Table:

Date = CALENDAR(MIN('Table'[date]),MAX('Table'[date]))

vzhangti_0-1660703801839.png     vzhangti_2-1660703868541.png

Measure:

Missing = IF(SELECTEDVALUE('Date'[Date])<>SELECTEDVALUE('Table'[date]),1,0)

vzhangti_3-1660706261642.png

Is this the result you expect?

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

jamilqpr
Frequent Visitor

Yes, You can see results on the dashboard by Calculating Measure Countrows to data to calculate Carrier, It will show you, carrier count. then Select Bar chart in legend select missing date and carrier axix label. Graph and pie chart and table you can make easilyScreenshot (361).png

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.