Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
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 |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 |