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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
kolturra
Helper IV
Helper IV

WHAT IF Analysis On Stocks

Hi,

 

Can some please help in sharing article, where i can understand how to use WhatIF analysis on Stocks table. Below is one example.

 

DateOpenHighLowClose*Adj. close**Volume

20-May-20201,950.001,962.901,931.701,953.601,953.6027,77,614
19-May-20201,903.001,966.451,903.001,948.651,948.6531,98,693
18-May-20201,907.001,952.951,872.101,945.601,945.6037,27,694
15-May-20201,916.001,917.401,865.201,892.901,892.9031,73,682
14-May-20201,910.001,923.101,891.101,902.351,902.3522,63,146
13-May-20201,994.001,994.001,925.651,949.651,949.6526,56,665
12-May-20201,933.401,956.501,910.251,949.501,949.5032,56,595
11-May-20201,909.001,951.401,909.001,935.301,935.3024,49,841
08-May-20201,939.101,939.501,886.251,893.401,893.4026,86,530
07-May-20201,910.001,934.451,883.351,891.651,891.6531,66,754
06-May-20201,939.801,953.701,893.601,903.601,903.6035,17,431
05-May-20201,955.101,977.001,927.001,932.751,932.7529,05,528
04-May-20201,966.001,966.001,913.651,930.451,930.4537,29,348
30-Apr-20201,980.002,032.001,942.202,014.452,014.4559,15,544
29-Apr-20201,874.001,912.551,850.051,905.651,905.6542,41,510

 

 

Thanks,

K R RAO

7 REPLIES 7
Greg_Deckler
Super User
Super User

What do you want to What If?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Super User
Super User

What do you want to What If?

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

@kolturra , In power BI whatif is refer to whatif parameter

https://docs.microsoft.com/en-us/power-bi/desktop-what-if

Can you please explain with an example. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

 

 


Please Watch/Like/Share My webinar on Time Intelligence: https://community.powerbi.com/t5/Webinars-and-Video-Gallery/PowerBI-Time-Intelligence-Calendar-WTD-Y...
My Your Tube Tips at: https://www.youtube.com/playlist?list=PLPaNVDMhUXGYrm5rm6ME6rjzKGSvT9Jmy

Appreciate your Kudos.

Hi,

 

By using WHATIF analysis, i want to understand how much time it will take to reach certain amount with historical stock data.

 

Min Value  = 450

Max Value =500

Incremental  = 10

By selecting these options, can i know in how time or days i will be reaching these value, my be kind of forecast option. Since, in Power BI we don't have option to forecast weekdays data. That is why i am using WHAT IF analysis to get these results

 

Untitled.pngThanks,

K R RAO

@kolturra ,

 

 

You can do a forecast by using the analytics tab in the visulisation pane.

 

The shaded line is giving me the upper and lower limit of the share open price based on confidence level I have assigned in the forecast line, you cna alos try the trend line, min and average line.

 

1.jpg2.JPG

 

 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Hi,

 

Is it possible forecaset only for weekdays?

 

Thanks,

K R RAO

Hi @kolturra ,

 

Have shown the trend basis your data which are weekdays?

 

Not sure if you can only forecast for weekdays. No option to tell Power Bi to forecast for x days with a gap in between.

 

Regards,

Harsh Nathani

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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