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
Prakash1050
Helper II
Helper II

Need a DAX Measure

Hi All,

       I have three table A and table B, table C. 

       Table A have ID, Value, EntityID columns.

       Table B have EntityID, SI.No columns.

       Table C have SI.No, Grade Columns.

       Table A, Table B have Same EntityID column and Table B, Table C have same SI.No column.

        I need a DAX Measure for Calculate Average Weight by Using Table A "Value" Column. Like Table A "Value" 's  each row should be divided by That column "Grand Total" and get each row values are multiplied by Table B "SI.No" then Roundup the values and compare to the Table C "SI.No" column and get the "Grade" Column.

       If i filter Table A "EntityID" means i get also filtered "Grade" Column in Table C.

        I don't want to create relationships these tables.

        Please help me.

Thanks i Advance

2 REPLIES 2
Jesu_Jeevian
Regular Visitor

Declare Variable for Entity ID with the combination of Sl No columns and do your calculations in the return statement. Meanwhile make the relationships between these tables, or create a bridge table 

v-rzhou-msft
Community Support
Community Support

Hi @Prakash1050 ,

 

I think your calculation is based on your data model. According to your statement, I am still confused on some parts. Please share a sample file with us and show us a screenshot with the calculation logic and the result you want. This will make it easier for us to find the solution.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.