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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
strikw
Helper I
Helper I

fixed values in the graph

Hello

 

I have a document that I need to see the daily fixed values, but when I put in the graph the power bi always sums everything up, I want a function for it to show me the same fixed values in the table. My table has the name of the stock, stock price and date, each day has a different price.

 

And I also need a function to know the share price on the first day and the last day of any year.

 

If anyone can help me I'll be grateful, sorry for the simple questions, I'm a newbie in power bi.


Thank you.

1 ACCEPTED SOLUTION
vishnurk
Frequent Visitor

To remove summation for any graphs,in the value feild,click the dropdown and choose the value option to anything else other than sum or summarize.

 

For First day and last day price of a year.Considering you have two filters one for year and other one for stock item.

 

You can create 2 measures:

 

1.First_day_price=calculate(sum(stockprice column),filter(tablename,stockdate=min(stockdatecolumn)))

 

2.Last_day_price=calculate(sum(stockprice column),filter(tablename,stockdate=max(stockdatecolumn)))

You can create 2 score cards for the above 2 measures

So when you select the respective year and stock items in your filter the score cards will show the stock proce for those filter

View solution in original post

2 REPLIES 2
vishnurk
Frequent Visitor

To remove summation for any graphs,in the value feild,click the dropdown and choose the value option to anything else other than sum or summarize.

 

For First day and last day price of a year.Considering you have two filters one for year and other one for stock item.

 

You can create 2 measures:

 

1.First_day_price=calculate(sum(stockprice column),filter(tablename,stockdate=min(stockdatecolumn)))

 

2.Last_day_price=calculate(sum(stockprice column),filter(tablename,stockdate=max(stockdatecolumn)))

You can create 2 score cards for the above 2 measures

So when you select the respective year and stock items in your filter the score cards will show the stock proce for those filter

Thank you

Problem solved.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors