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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Gokul_G16
Resolver I
Resolver I

Previous Date Vs Today Variance

Hi Experts,

Need you assitance to build the below figure shown measure varince to be as per the data avaialble value only should calculate the variance.
--

Gokul_G16_0-1709880674608.png


Coulmn 1 is : Count trend 

Coulmn 2 is : Variance of previous day Vs Today. ( Inside the  column 2 i should be have continous variance of previous date value comparsion.

Currently measure work around :

variance = Dateadd(date, -1, Day)

Your valuable responce to be highly prompt.

Thanks, 

Gokul.



4 REPLIES 4
Jonvoge
Super User
Super User

Hi Gokul_G16

 

One issue in your report seems to be the missing dates.

I am guessing that you are using a Date column from your Fact Table, and not a separate Date Table?

I would highly advice you to use a Date Table, in order to fill out the blank dates in your table.

_____________________________________________________
I hope my comment was helpful.
If your question was answered, please mark your post as 'Solved' and consider giving me a 'Thumbs Up'.
Find me on LinkedIn, Sessionize, or my blog Downhill Data

Hi @Jonvoge ,

Thanks for responce,

Yes, aggreed it the date are missing. it seems our end weekends are excluded.

I have used measure seprate dim_date master only. Is there any possible to make the based on Fact table rows available to be calulated the variance Previous day - Today Variance Count.

Thanks,
Gokul

Hi @amitchandak @Arul 

Need your concerence on this.

Thanks
Gokul

@Gokul_G16 ,

Can you try Visual Level Calculation?

Arul_0-1709899859694.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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