Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have a table in Power BI that has monthly cost data. Some of the products have been decommissioned or reclassified since the last invoice from finance. I currently have a column in another table that defines each of the products that flags the product as decommissioned or reclassified and when showing what the future forecast of costs might be I’m able to sort out those decommissioned or reclassified products very easily BUT, it also removes them from all previous months also. What I would like to do is add a date column to the product definition table that indicates when the reclass or decommission will occur so that the product is only remove from that month forward. What is the best way to do that?
The file coming from finance has the separate line for each product and their cost for every month. So if apples was reclassified in April and melons was decommissioned in Mar the data should look like the table. I might still have data in the sales file for these products and the months but because there is a date in the products definition table the amounts would be filtered out from the date in the table forward.
Product | Jan | Feb | Mar | Apr |
Apples | 100 | 127 | 175 | |
Pears | 97 | 75 | 82 | 67 |
Lettuce | 103 | 107 | 99 | 175 |
Melons | 115 | 175 |
@hshayhorn , I think unpivot data and lost logic can help
Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g
Create a date from month
Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
147 | |
85 | |
66 | |
52 | |
46 |
User | Count |
---|---|
215 | |
90 | |
83 | |
66 | |
58 |