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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
alora101
Frequent Visitor

HELP WITH CALCULATION

 

Hi All,

 

I am new here and finding  it difficult to get around this query.

 

i am trying to do the below

 

original amount =  DIVIDE ([ACTUAL NET PREMIUM RECEIVED], [RATE OF EXCHANGE])  * COUNT(POLICY[POLICY_NUMBER)

 

but i am not getting the right result. 

 

in summary, if i  divide between (actual net preview) and (rate of exchange) and the result  = 20 and policy number appears 10 times, i want to be able to multiply 20 * 10 .

 

i also try to do it seperately   = original amaount * count(policy[policy number) still not getting it right.

 

basically, i want to do a group by on policy number 

 

policy number     

aaaa

aaaa

aaaa

aaaa

bbb

bbb

bbb

aaaa

cccc

cccc

 

so i want to count number of policy number then multiple it by the division result. 

 

Any help will be grateful

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

@alora101,

 

Share us a complete example and the expected output. Visit http://community.powerbi.com/t5/Desktop/bd-p/power-bi-designer for more DAX questions.

Community Support Team _ Sam Zha
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

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@alora101,

 

Share us a complete example and the expected output. Visit http://community.powerbi.com/t5/Desktop/bd-p/power-bi-designer for more DAX questions.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks, Every thing works fine now. The dataset contains duplicate records and my calculation is right.

 

Thanks all 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Kudoed Authors