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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
RobertKuij
Frequent Visitor

QUESTION How to add additional filter in new column calculation

Dear users, 

 

I am currently working on putting together an interactive stock analysis dashboard, but I am encountering some problems. For now, I have appended two stock data sets: the AEX index and the DOW index. The data sets run from 02-January 2020 to 10-January 2020 and both have closing figures. 

 

Now, the goal is to determine the percentage change between the first day of the year with the last day of the year per Stock Symbol However, if I try to calculate the values, is sum's all values in that column. (see below)

 

Help1.PNG

 

My question is: what do I need to add in the formula bar so that the calculation is based upon the stock symbol, so that it does not sum all the values in that column?

 

Thank you in advance!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@RobertKuij , you are creating a column not measure in that case you have to add to your filter [stock] =earlier[stock] (or more filter)

, What you created might more fix to measure

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@RobertKuij , you are creating a column not measure in that case you have to add to your filter [stock] =earlier[stock] (or more filter)

, What you created might more fix to measure

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

That is great, thank you so much!

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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