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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Accoutant
Frequent Visitor

DAX for value in £m in Matrix doesn't work

Hi

I used the following DAX to show the matrix in £m, but it doesn't work:
Sales Rev £m = MAX([Sales)_value £k])/1000

 

What have I done wrong please?

 

£m.PNG

1 ACCEPTED SOLUTION
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Accoutant 

You may use below measure.If it is not your case,please share some sample data and expected output which would be helpful to provide an accurate solution.

Measure_sale = SUM('Table'[Sales])/1000

1.png

Regards,

Community Support Team _ Cherie Chen
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

5 REPLIES 5
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Accoutant 

You may use below measure.If it is not your case,please share some sample data and expected output which would be helpful to provide an accurate solution.

Measure_sale = SUM('Table'[Sales])/1000

1.png

Regards,

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

Hello,

Thanks it works. Do you know how to get rid of the decimal places please?

Found another post about how to remove the decimals. Thanks so much. Also thanks everyone for replying to my post. 

Anonymous
Not applicable

@Accoutant -

First, you should get rid of the first closing parentheses. Other than that, it's hard to tell what the problem is without more information, such as expected results and returned results.

Cheers,

Nathan

At a guess I'd say your first column is summing multiple data values whereas your second column is only dividing the single maximum value by 1000

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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