Partners filmexxx.link, sextotal.net, ahmedxnxx.com, https://xnxx1xvideo.com, russianxnxx

Hola People, time and again I stumble into interesting problems that are worth your try!

 

Dynamic Column Calculations – Power Query Challenge

 

Consider this Data

Dynamic Column Calculations - Data

  • Apart from the standard sales columns the above data has 3 Tax Columns with values 1 or 0.
  • 1 Means tax is applicable.
  • 0 Means tax is not applicable.

The obvious next question is, how much is the tax rate? Which is given in a separate Tax Table below.

Dynamic Column Calculations - Tax Table

 

Expected Output

You mission, should you choose to accept it, is to calculate Total Tax Column.

Dynamic Column Calculations - Output

Total Tax = Applicable Tax (from Sales Data) x Tax Rate (from Tax Table) x Value (from Sales Data)

 

These constrains should not break your solution!

  1. New (non tax) columns may be added in the Sales Data.
  2. New Tax columns may be added or could change their name but will retain the string “Tax”.
  3. Columns in the Tax Table and Tax columns in Sales Data will always have same names.
  4. For the bold hearted 💪🏼 – Try not using the Pivot or Unpivot feature in your Solution.

 

Post your answer in the comments. Good luck proverbial “Ethan” 😉

The solutions will self appear on this page in 5 days!

 

 



Topics that I write about...