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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Anonymous
Not applicable

Divide specific values in matrix visual with total value

Hello Community,

I have a matrix. I want to calculate weigth for all the months by dividing it with total value.

 

The dax i am using is  

bgtw = DIVIDE(CALCULATE(SUM(LE[BU AM]),ALLSELECTED()),[Total_BU_AM_Measure]) but the values are not coming correctly.
 
For Eg Jan must return me -1259/13221.61 = -0.09 
 
Any help would be much appreciated. Thanks

Capture.PNG
1 ACCEPTED SOLUTION
Anonymous
Not applicable

The above mentioned issue was resolved. The dax used was allexcept and in the dax i mentioned all the column names which i used in the slicers. Hope this helps anyone else. Cheers!!!!!!

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

The above mentioned issue was resolved. The dax used was allexcept and in the dax i mentioned all the column names which i used in the slicers. Hope this helps anyone else. Cheers!!!!!!

Pragati11
Super User
Super User

Hi @Anonymous ,

 

Can you try modifying your DAX to the following:

bgtw = DIVIDE(

                         CALCULATE( SUM(LE[BU AM]) ), [Total_BU_AM_Measure]

                        ) 

 

If this helps and resolves the issue, appreciate a Kudos and mark it as a Solution! 🙂

 

Thanks,

Pragati

 

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Hi Pragati,

 

this gives me value 1 in all the columns

 

Capture1.PNG

Hi @Anonymous 

 

you might consider creating pbix file that will contain some sample data (remove the confidential info), upload the pbix to onedrive for business and share the link to the file. Please do not forget to describe the expected results based on this sample data.

 

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

No issues, I want the result fast what you suggested will take a lot of time. thanks for the help

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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