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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Impossible Date Situation

I have a table with users and 2 date fields that I unpivoted to make the date fields a single date field:

 

1.PNG

 

I then created a date table to handle these dates and created a relationship:

2.PNG

 

Then, I duplicated my main table above and pulled in 2 fields from it:

3.PNG

Established relationship between this table and my main table:


4.PNG

So from here, if I total my YTD_Producer_Goal__c field with no graphing, the total is $4,482,000. I then tried to turn this into a monthly value, so $4,482,000/12 which is $373,000 for each month. However, when I attempt to calculate this accumulatively and place it on a graph, I do not get that number each month and my grand total falls short by the end of the year:


5.PNG

 

So there's only 3 months where I have the correct amount. When I did some digging around into why, I discovered it's because not every user has dates from every month associated with them, or in other words gaps in their dates.

For instance, one user has a YTD_Goal of $40,000, so that would be $3,333.33 monthly. Above in December on the graph, we see the final number is $4,442,000 instead of $4,482,000 which is a difference of $40,000. This user is the only user that does not have any December dates in their data, so their grand total total isn't accounted for on the graph in December:


6.PNG

So my question is, how can I get to a point where a user's expected value for a month shows even if they do not have any dates associated with that month yet? I know that in my main table if a December date finally populates for that user, the total on the graph would display correctly for December, however I've learned that not every user will have data every month which is why every month doesn't = $373,500 like I thought it would.

 

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You could try IF() function to judge if the result is blank. Just like there were no results in December, you could use the value of the previous month.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Anonymous
Not applicable

hi @v-eachen-msft , thank you for your reply. I think I understand the gist of what you're saying! So basically convert this into a measure: "If a user no dates for the month of ____, use the previous month number."

jthomson
Solution Sage
Solution Sage

You asked this last week and got a reply?

Anonymous
Not applicable

@jthomson it didn't solve my issue?

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.