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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Need Help with power BI formula

Hi everyone,

I need your help please on a formula to be able to have a report on power BI.

Bellow the problem that i'm facing:

I need to extract a data from a table to calculate the monthly cost and yearly cost of profils per Region.

I have a table with the profils sorted

I have another table witch contains the regions

And a another witch contains the unit cost of a profil

I need to add to my table a column to calculate the cost of each profil and cost of profil by Region.
please see below my screen shot, New Message - Microsoft Power BI Community - Google Chrome - Paint.jpg

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @v-frfei-msft

 

Sorry for my late response, actually the problem is no longer persisting.

I have just changer the parameters in the matrix and it worked.

 

Sorry for my late response.

Regards,

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Try using the Merge Query option to do a lookup and pull only the relevant columns.

 

shapecombine_mergequeries

You can then use a calculated column to calculate cost of each profil. Can you share the screenshot of the other table?

Anonymous
Not applicable

Hi @Anonymous 

Thanks for your response

Here is the table of the costs

Licenses - Power BI Desktop.jpg

Could you please tell me how works the "merge query"? I just started to use power Bi lately (may be a month ago) so i'm not that good with it.

 

Regards,

Hi @Anonymous ,

 

Creating relationship between your tables is the key in your scenario. Kindly share your sample data and excepted result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi @v-frfei-msft

 

Sorry for my late response, actually the problem is no longer persisting.

I have just changer the parameters in the matrix and it worked.

 

Sorry for my late response.

Regards,

Anonymous
Not applicable

The profil column is a calculated one, so it doesn't appear in the merge query, i only have the coloumns that i puted as an excel input

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.