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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.