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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

That is great, thank you so much!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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