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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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