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
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

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

That is great, thank you so much!

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.