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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
edyson
Frequent Visitor

For the life of me, I can't understand why the total is WRONG

I have a Tickers table with the next dividend date and the rate. All good.
I have a measure that calculates the total stock for each Ticker. All good.
I've created a new measure that calcualates the forecast dividend. All good for each ticker, BUT,, the total is WAY OUT.!

I'm attaching the visual export. The estimates are correct for each stock and when I add them up in Excel, the total is corret but the BI Visual gives me a ridiculous figure (not sure where it's coming from) 58,974, when it should be 9,043.

 

What is wrong.

 

Here's the measure (it's simple and should give me the correct total)

Div Est =
  SUMX(Tickers, [Total Shares] * MAX(Tickers[Div Rate]))


attached is the visual export Div Est is correct here but 

Div Payment DateTickerDiv EstTotal StockDiv RateExcel Check
2/1/2024AOD57.510000.057557.5
2/1/2024ARDC35.253000.117535.25
2/1/2024ASGI19212000.16192
2/1/2024AVK77.3526600.117277.352
2/1/2024AWF39.36000.065539.3
2/1/2024BCX67.85813100.051867.858
2/1/2024BGH105.610000.1056105.6
2/1/2024BGT56.795000.1135856.79
2/1/2024BME106.55000.213106.5
2/1/2024BTZ50.346000.083950.34
2/1/2024CCD58.53000.19558.5
2/1/2024CHI28.53000.09528.5
2/1/2024CHY606000.160
2/1/2024DFP31.23000.10431.2
2/1/2024DLY81.697000.116781.69
2/1/2024DSL666000.1166
2/1/2024EAD42.9219000.0476942.921
2/1/2024EOS46.084000.115246.08
2/1/2024ETG50.055000.100150.05
2/1/2024ETJ40.537000.057940.53
2/1/2024ETO137.410000.1374137.4
2/1/2024EVT133.929000.1488133.92
2/1/2024EXG55.310000.055355.3
2/1/2024FFC89.6511000.081589.65
2/1/2024FINS10910000.109109
2/1/2024FOF17420000.087174
2/1/2024FRA58.515000.1170258.51
2/1/2024FSD115.511000.105115.5
2/1/2024FSK408000.0540
2/1/2024GHY115.511000.105115.5
2/1/2024HPI61.755000.123561.75
2/1/2024HTD165.612000.138165.6
2/1/2024HYT116.8515000.0779116.85
2/1/2024IFN118929000.411189
2/1/2024IGR21035000.06210
2/1/2024JEPI90.1833000.3006190.183
2/1/2024JPC50.2812000.041950.28
2/1/2024JRI78.39000.08778.3
2/1/2024KIO109.359000.1215109.35
2/1/2024KMI480.2517000.2825480.25
2/1/2024LDP104.88000.131104.8
2/1/2024LGI115.04911000.10459115.049
2/1/2024LNC1353000.45135
2/1/2024MAIN1928000.24192
2/1/2024MEGI1008000.125100
2/1/2024O76.953000.256576.95
2/1/2024OKE1336.513500.991336.5
2/1/2024PFFA159.1259500.1675159.125
2/1/2024PSF100.88000.126100.8
2/1/2024PTA120.69000.134120.6
2/1/2024RFI8010000.0880
2/1/2024RLTY11010000.11110
2/1/2024RNP190.414000.136190.4
2/1/2024RQI20025000.08200
2/1/2024SPE43.355000.086743.35
2/1/2024STAG147.99612000.12333147.996
2/1/2024THQ168.7515000.1125168.75
2/1/2024THW175.0515000.1167175.05
2/1/2024UNM255.57000.365255.5
2/1/2024UTF18612000.155186
2/1/2024UTG1719000.19171
  9043.174  9043.174



2 ACCEPTED SOLUTIONS
Daniel29195
Super User
Super User

@edyson 

OUTPUT

Daniel29195_0-1707552363783.png

 

 

t = SUMX(tbl1, tbl1[Total Stock] * tbl1[Div Rate])

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

View solution in original post

edyson
Frequent Visitor

Hi. I did in the message but I've SOLVED it. The measure should be Sumx([Total Stock]*[Tickers[Div Rate] NOT max(Tickers[Div Rate]! Stupid of me! Thanks for helping out!

View solution in original post

3 REPLIES 3
edyson
Frequent Visitor

Hi. I did in the message but I've SOLVED it. The measure should be Sumx([Total Stock]*[Tickers[Div Rate] NOT max(Tickers[Div Rate]! Stupid of me! Thanks for helping out!

Daniel29195
Super User
Super User

@edyson 

OUTPUT

Daniel29195_0-1707552363783.png

 

 

t = SUMX(tbl1, tbl1[Total Stock] * tbl1[Div Rate])

 

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

Daniel29195
Super User
Super User

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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