Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have the following data and I need to split the row value into two. How I can do it on Power Query/Power BI.
The split will be based on value of Column CL6, if it contais Fleming on the name, the slipt must happen.
Also, the % of split will depends on which month is on column Date. In this case, as it is January, the Split is 36.9% to Airport Value and 63.1% to Non-Airport Value.
Original table:
| CL6 | KG/Litres/RU(excl. free goods) Invoiced Period A | Date | Custom |
| L6 28 6607644 JAD Commercial Servic | 100 | 1-Jul-23 | Airport |
| L6 28 2169043 Flemingo Int. Maurit. | 100 | 1-Jan-22 | Non-Airport |
Desired Table
| CL6 | KG/Litres/RU(excl. free goods) Invoiced Period A | Date | Custom |
| L6 28 6607644 JAD Commercial Servic | 100 | 1-Jul-23 | Airport |
| L6 28 2169043 Flemingo Int. Maurit. | 63.1 | 1-Jan-22 | Non-Airport |
| L6 28 2169043 Flemingo Int. Maurit. | 36.9 | 1-Jan-22 | Airport |
What is the logic behing 36.9% and 63.1% for Jan? What about other months say for Feb.....Dec...
Company policy.
So this ratio is for all months. For example even for Dec, has this ratio to be followed?
If it is different for different months, then that information will be needed.
The ratio will be different for every month: The table for 2023 is:
| 63.1 | JAN | Non-Airport |
| 36.9 | JAN | Airport |
| 49.9 | FEB | Non-Airport |
| 50.1 | FEB | Airport |
| 22.8 | MAR | Non-Airport |
| 77.2 | MAR | Airport |
| 81 | APR | Non-Airport |
| 19 | APR | Airport |
| 35.7 | MAY | Non-Airport |
| 64.3 | MAY | Airport |
| 64.5 | JUN | Non-Airport |
| 35.5 | JUN | Airport |
| 10.9 | JUL | Non-Airport |
| 89.1 | JUL | Airport |
| 60 | AUG | Non-Airport |
| 40 | AUG | Airport |
| 65 | SEP | Non-Airport |
| 35 | SEP | Airport |
| 70 | OCT | Non-Airport |
| 30 | OCT | Airport |
| 75 | NOV | Non-Airport |
| 25 | NOV | Airport |
| 55 | DEC | Non-Airport |
| 45 | DEC | Airport |
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 17 | |
| 9 | |
| 9 | |
| 7 | |
| 7 |