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

Creating Relationships

Given this setup, is there any way I can group this data by the co ID? I have other tables that I cannot merge or create relationships to because my main dataset can have a co ID more than once depending on other factors, but my aim isn't to get rid of the other fields because I still need them:

1.PNG

4 REPLIES 4
Phil_Seamark
Employee
Employee

Hi @Anonymous

 

I'm not clear what you need.  You can create calculated measures that can perform SUM, COUNT, AVERAGE type calculations over a group of rows that belong to a particluar co ID.  Is that what you mean?


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Anonymous
Not applicable

@Phil_Seamark When trying to create a relationship between these two tables, I'm stopped because my CService dataset will have ID's appear more than once. Both fields from both tables are the same data I'm attempting to link on:

1.PNG

@Anonymous,

 

Add a calculated table and then build relationships.

http://community.powerbi.com/t5/Desktop/Cannot-create-relationships-Power-BI-finding-duplicates-that-do/m-p/332433#M148641

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

@v-chuncz-msft This is nice but all it does is return distinct values from my 'Cservice' dataset. I need my 'CService' dataset to link with my 'EMS Survey' dataset while still being able to use my start and end dates from 'CService'. The 'co' field from 'Cservice' is the same as the 'New ID' field in my 'EMS Survey' dataset. I can create a relationship between 'EMS Survey' and 'Table' of the distinct co values, but I still need access to other fields within 'CService':

1.PNG

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.