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.
I'm a newbie in PowerBi.
I have an excel report trying to convert to Power Bi, my last column in Excel file is a calculated using Index-match functions, but I can't figure it out how to convert it to a calculated column in Power BI.
My excel formula is:
=IF([@CURRENCY] = "PES",[@[AMOUNT]], [@[AMOUNT]]*INDEX(L:L,MATCH(1,(MID([@DATE],5,2)=MID(E:E,5,2))*(LEFT([@DATE],4)=LEFT(E:E,4))*(G:G="PES"),0)))
Thanks in advance for your help
Anybody that can help me out?
Thank you very much for your answer.
What I see your answer does is multiplies the amount by the sum of all amounts where the currency equals "PES"
What I'm attemping to do is to multiply the amount by the exchange rate (columns L:L) where the currency matches "PES" (G:G) and the month and year of that exchange rate matches the date of the amount
Any suggestion?
@martipe1
Sharing a dummy Power BI file representing your scenario would be beneficial. You can save the Power BI file on Google Drive or any other cloud storage platform and provide the link here. Kindly ensure that permission is granted to open the file.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Thank you for your answer.
I uploaded a dummy Excel and Power BI files. The excel file has the formula I want to reproduce in Power Bi
Dummy files
Thanks!!
@martipe1
Please try:
NewColumn =
IF (
'YourTable'[CURRENCY] = "PES",
'YourTable'[AMOUNT],
'YourTable'[AMOUNT]
* CALCULATE (
SUM ( 'YourTable'[AMOUNT] ),
FILTER (
'YourTable',
MID ( 'YourTable'[DATE], 5, 2 ) = MID ( 'YourTable'[DATE], 5, 2 )
&& LEFT ( 'YourTable'[DATE], 4 ) = LEFT ( 'YourTable'[DATE], 4 )
&& 'YourTable'[CURRENCY] = "PES"
)
)
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
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 |
---|---|
65 | |
63 | |
52 | |
37 | |
36 |
User | Count |
---|---|
82 | |
67 | |
61 | |
46 | |
45 |