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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.