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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
matout
Helper I
Helper I

Calculate dynamic field in a table

Hello,

 

I have data fed from an excel sheet of an investment portfolio, this table contains columns like (Investment, type, purpose, value..etc)

In the type column, I have 3 categories (Properties, Stocks, and cash).

 

What we want to achieve is to pull daily stock prices from the internet (which I managed to do that), then I have to calculate the networth by sum the values of properties, cash as well as the stock value (based on the current stock price)

 

I am still a begginer, and I have managed to pull the stock prices, however I am stuck in creating a table that have those nearly static values (properties and cash) as well as a field for those dynamic wealth (stocks) and display that using pie charts and stuff.

 

what should I do, please help

2 REPLIES 2
JW_van_Holst
Resolver IV
Resolver IV

Given your description, it looks to me the best way to handle this is to create a calculated column in your portfolio table [enhanced price]. If the asset is Properties of Cash you us the prices from this table. If the asset is Stock you simply us FILTER to filter out the asset and the appropriate date.

This approach is limited. You don’t have a history of prices.

I am trying to do that, with no luck so far) and as you said, this approach is limited,

what I am trying to do is to create a calculation (through a measure) to calculate the stock price each day, and ingest that into the its field in the table, also with no luck so far.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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