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

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
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.