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
Anonymous
Not applicable

Measure with fields from two different tables

I have a mapping table of Assignment group, Owner and Service.

 

Then there are two other tables, Incidents and Requests. These tables contain Assignment group in both.

 

I am doing a count of total Incidents and total Requests and put them into a new table so that i have an overall total but i need to be able to split it by Assignment group. This new table has no relationship as it only has totals of total Incidents +total Requests. I need to be able to click on assignment group slicer and these totals are split.

2 ACCEPTED SOLUTIONS
parry2k
Super User
Super User

@Anonymous  I dont think you need to create new table instead create two measures, assuming request and incident table has relationship with mapping table on assignment group

 

Total Incident = COUNTROWS( Incident )

Total Requests = COUNTROWS( Requests )

Now put above measures in a visual like table and put assignment group as slicer, based on slicer, the totals will change

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

@Anonymous that's fine, you can sum up those measure together by creating another measure or do everything in one measure.

 

Total = [Total Incident] + [Total Request]


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

4 REPLIES 4
parry2k
Super User
Super User

@Anonymous  I dont think you need to create new table instead create two measures, assuming request and incident table has relationship with mapping table on assignment group

 

Total Incident = COUNTROWS( Incident )

Total Requests = COUNTROWS( Requests )

Now put above measures in a visual like table and put assignment group as slicer, based on slicer, the totals will change

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

But if i wanted to show total = total requests  + total incidents as an overall figure? Then slice it?

 

Yes there is a relationship of assignment group

@Anonymous that's fine, you can sum up those measure together by creating another measure or do everything in one measure.

 

Total = [Total Incident] + [Total Request]


Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Anonymous
Not applicable

Cant believe I made a mountain out of a mole hill.

Very simple way.

Thanks

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.