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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.