Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
How to create a calucated column using two data set data:
ex: using Jan month data and Feb month data i want to calculate % change?
Hi @SukanyaGG
The solution depends on your data model. If there is a one to many relationship between the two, the one on the many end can use RELATED to return a column value from the related table. If there isn't you can use LOOKUPVALUE granting that the result returns only one distinct value - eg no multiple value for the same month. You can also use CALCULATE to get the data from the other table. Example
CALCULATE (
SUM ( othertable[column] ),
FILTER (
othertable,
othertable[lookup column] = EARLIER ( thistable[lookupvalue column] )
)
)
SUM can be replaced with MAX, MIN, LASTNONBLANKVALUE, FIRSTNONBLANKVALUE, AVERAGE, etc.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
69 | |
60 | |
51 | |
36 | |
36 |
User | Count |
---|---|
84 | |
70 | |
58 | |
45 | |
44 |