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
SAP4026
Frequent Visitor

Reusing measures in different tables

Hi,

 

I’m a new BI user and this is my second post. I have 10 tables total (see the breakdown below) and have provided the tables with active relationships. My question: what do I need to so that the measures found in tables E-G can be used by other tables, specifically by tables A-D when I build my visualizations? Is it possible to extract the measures found in tables E-G to create a new table and this new will have an active relationship with tables A-D? I cannot make any of the current relationships inactive. Thank you in advance for any guidance/assistance provided.

 

Table A – active relationship with Table E via ID

Table B – active relationship with Table E via ID

Table C – active relationship with Table E via ID

Table D – active relationship with Table E via Name

 

Table E – active relationship with Table C via ID and with Table G via Name (Table E has a max date formula, a conditional column, and a measure)

Table F – active relationship with Table B via Name (Table F has a max date formula, a conditional column, and a measure)

Table G – table has a max date formula, a conditional column, and a measure

 

Table H – active relationship with Table G via ID

Table I - active relationship with Table G via ID

Table J - active relationship with Table G via ID

2 REPLIES 2
some_bih
Super User
Super User

Hi @SAP4026 welcome to Power BI world. Reuse of measure is all about it - that is crutial: reusage for different tables.

How to create measures in Power BI you could find here https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-measures 

There is also special function in DAX USERELATIONSHIP for case there is inactive relationship

https://learn.microsoft.com/en-us/dax/userelationship-function-dax 

I hope this help





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






some_bih
Super User
Super User

Hi @SAP4026 welcome to Power BI world. Reuse of measure is all about it - that is crutial: reusage for different tables.

How to create measures in Power BI you could find here https://learn.microsoft.com/en-us/power-bi/transform-model/desktop-tutorial-create-measures 

There is also special function in DAX USERELATIONSHIP for case there is inactive relationship

https://learn.microsoft.com/en-us/dax/userelationship-function-dax 

I hope this help





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






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.

Top Solution Authors