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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
kg4u
Helper II
Helper II

Missing data

Hi All,

 

I have a problem and cannot figure out why this is happening.

 

When I select the year 2021 the data are correctly populated for all 4 columns.

kg4u_0-1721155710023.png

When I select the year 2022 I no longer get data for the current period, the first two columns.

kg4u_1-1721155775433.png

And then when I select the year 2023 I don't get any data at all.  Any ideas on what is causing this to happen?

kg4u_2-1721155836453.png

 

 

3 REPLIES 3
HotChilli
Super User
Super User

I suggest testing in a separate table visual with the column that isn't shown on the above pictures (the column on the far left) and a simple measure, SUM('Cognos Data'[Applications]) with the date field (from Cognos) that is in the relationship. See if you get data for the year 2022.
Add in the Year from the calendar table, see if the data still shows.

If not, examine the relationship and see where it's not working.

HotChilli
Super User
Super User

Please provide more info.  It won't be solved by looking at those pictures.

What's your data? What are the relationships? What is in the visual (measures? columns?). What's in the slicer?

What are you expecting to see?

The first 2 columns of data are simply a sum of applications received and policies received. 

Applications = IF( SUM('Cognos Data'[Applications]) =BLANK(),0,SUM('Cognos Data'[Applications]))
Policy Count = IF(SUM('Cognos Data'[Policies])=BLANK(),0,SUM('Cognos Data'[Policies]))
The third and forth columns are the same sum of applications and sum of policies for the prior year.
Prior Year App Count = IF(CALCULATE([Applications],SAMEPERIODLASTYEAR('Calendar'[Entry Date]))=BLANK(),0,CALCULATE([Applications],SAMEPERIODLASTYEAR('Calendar'[Entry Date])))
Prior Year Policy Count = IF(CALCULATE([Policy Count],SAMEPERIODLASTYEAR('Calendar'[Entry Date]))=BLANK(),0,CALCULATE([Policy Count],SAMEPERIODLASTYEAR('Calendar'[Entry Date])))
 
The slicer is simply pulling the Year field from my calendar table. 
Calendar = CALENDAR(DATE(2020,01,01),DATE(2025,12,31))
 
The calendar table is connected to the Cognos data with this relationship.
kg4u_0-1721244444936.png

I hope this is enough information to assist me.  I don't know where to look to resolve this.  Thank you!

 
 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.