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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jmaikido
Employee
Employee

Import excel banking transactions

HI folks,
I have an excel file (csv export) of banking transactions - (previous FY)
I have modifed the base export file to include Category columns based on the transaction details. This was first done
in excel before loading into PBI.
eg. purchases for Woolworths or Coles are Catagorized as 'Groceries' etc. I have 4 different Category columns.
Dilemma - If I export new banking transaction details (for a new date range) .....
the base file obviously does not contain the new Category columns.
I don't want to keep adding Categories to the new transaction export data before loading into PBI but I don't see
how this can be avoided as the visualizations are modelled using various Categories.
What is the most efficient method to create the Categories and import/refresh with new 'categorized' data?
TIA John
1 ACCEPTED SOLUTION
SivaMani
Resident Rockstar
Resident Rockstar

@jmaikido,

 

Follow the below steps,

 

  1. Import your base file into PBI
  2. In Query Editor, you can create a conditional column based on your requirement
  3. Just refresh whenever your base file modified in its original location. 

Please give a try. It will be efficient in your case.

 

Thanks,

Siva

View solution in original post

2 REPLIES 2
SivaMani
Resident Rockstar
Resident Rockstar

@jmaikido,

 

Follow the below steps,

 

  1. Import your base file into PBI
  2. In Query Editor, you can create a conditional column based on your requirement
  3. Just refresh whenever your base file modified in its original location. 

Please give a try. It will be efficient in your case.

 

Thanks,

Siva

Hi Siva,

 

Thanks for yor suggestion. I've looked into conditional columns and it appears it could provide me with a solution to my issue. I guess as long as i cover all the conditions that would populate the columns when a new file is imported, it could definately work.

 

Regards,

John

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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