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.
Hello Experts,
Need your help. I am trying to create a P&L view for my company through several excel based data sources. One such source relates to conveyance expense. I have a file that lists monthly expense in a datatable. Problem is that the month here is 16th-15th for eg. Expense dated 20th May is actually 16th April - 15th May and is paid on 20th May. Since I want to be able to present data in quarterly/monthly splits, I am trying to capture half of the expense in April and other half in May (staying with above example). Unfortunately, I am unable to think of the solution to do this.
My table looks like below. To be clear on my need- If you look at second row, the fuel amount is 4245.5 with start date 15th April and end date 15th May. I want to find a way through which I can capture 2122.75 (4245.5/2) in April as well as May each.
Solved! Go to Solution.
Hi @NitinReja
using power query you can for example duplicate the query. For one query delete the end date and rename the start date as date. For the other query delete the start date and rename the end date as date. Append both queries then add two new columns calculating half of km and half of fuel amount and delete the old two columns.
Hi @NitinReja
using power query you can for example duplicate the query. For one query delete the end date and rename the start date as date. For the other query delete the start date and rename the end date as date. Append both queries then add two new columns calculating half of km and half of fuel amount and delete the old two columns.
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 |
---|---|
10 | |
9 | |
8 | |
8 | |
8 |
User | Count |
---|---|
13 | |
12 | |
11 | |
10 | |
8 |