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
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
Employee
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
Employee
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
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.