Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Brookied
Helper I
Helper I

Tax Gross Up Calculation with DAX

Hi Guys

I need to gross up an income amount to caulcate teh amount of tax i can claim per contact.

 

the caulcation is

If you make a donation of €250, the approved body is deemed to have received a gross donation. The gross donation is calculated as follows:
€250/(100%-31%)=€362.32. The approved body can claim a refund of €112.32 which is €362.32x31%.

I have the sum of each contact but the above has me stummped...

Thanks in advance

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @Brookied ;

You could create a measure or column as follows:

Column:

 

gross donation = [donation]/(1-[percent])
refund = [gross donation]*[percent]

 

The final output is shown below:

vyalanwumsft_0-1624936838713.png

Measure:

 

gross donation2 = MAX([donation])/(1-MAX([percent]))
refund2 = [gross donation2]*MAX([percent])

 

 

 

The final output is shown below:

vyalanwumsft_1-1624936877706.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yalanwu-msft
Community Support
Community Support

Hi, @Brookied ;

You could create a measure or column as follows:

Column:

 

gross donation = [donation]/(1-[percent])
refund = [gross donation]*[percent]

 

The final output is shown below:

vyalanwumsft_0-1624936838713.png

Measure:

 

gross donation2 = MAX([donation])/(1-MAX([percent]))
refund2 = [gross donation2]*MAX([percent])

 

 

 

The final output is shown below:

vyalanwumsft_1-1624936877706.png

Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

thats the badger - many thanks for that

amitchandak
Super User
Super User

@Brookied , Following as new column or measure depending on what you have

A1 = [Column/measure]/.69

 

A2 = [A1]*.31

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.