Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
artfulmunkeey
Helper I
Helper I

Help with custom multi-filter(?)

Hi all,

 

I am having some trouble creating a custom filter and am starting to think I am over complicating the problem. Could some one please be kind enough to offer some advice?

 

I have the following categories for ActivityTypes (coming from timesheets):

  • Support
  • Non-Billable
  • External
  • CAPEX
  • BD
  • Sick
  • Other

I wish to categorise them as UtilisationTypes as follows:

  • Billable
  • Productive
  • Non-Productive

I can create a simple key with a header, however, the issue I have comes from the mapping and having duplicate values:

 

UtilisationTypeActivityType
ProductiveSupport Services (Corporate, BU, Division)
ProductiveNon-billable project (Direct costs for consultants)
ProductiveExternal Projects (FFP, LOE, FUP)
ProductiveCAPEX Projects
ProductiveBusiness Development
Non-ProductiveAbsence - Sickness
Non-ProductiveAbsence - Other
BillableExternal Projects (FFP, LOE, FUP)
BillableBusiness Development

 

Any advice would be welcome! Thanks, Alex

1 ACCEPTED SOLUTION
Anonymous
Not applicable

hello

 U can create a fact table for utilization type and map it to the other table. You can refer below. See below how I solved it. I hope this is what you wanted. P1.pngP2.png

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

hello

 U can create a fact table for utilization type and map it to the other table. You can refer below. See below how I solved it. I hope this is what you wanted. P1.pngP2.png

artfulmunkeey
Helper I
Helper I

Updated for clarity - 

 

I attempted to solve the problem through relationships, however, sometimes an activity type belongs in more than one Utilisation Type, for example; BD and External Projects need to appear in Productive and Billable categories (eventually I wish to use Utilisation Type to filter my data).

 

See below for my attempted logic

 

artfulmunkeey_1-1620902216360.pngartfulmunkeey_2-1620902226936.png

 

@artfulmunkeey 
How are you going to classify the rows in your fact table to cater for the duplicates? In other words, if your fact table has a row for "Business development", how will you know whether it's "Billable" or "Productive"? 
It seems to me you will need to create anew column in the fact table to establish each row's "Utilisation Type". You can then establish separate dimension tables for "Activity Type" and "Utilisation type".





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






amitchandak
Super User
Super User

@artfulmunkeey ,The information you have provided is not making the problem clear to me. Can you please explain with an example.

Appreciate your Kudos.

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Sorry for not being clear.

 

I attempted to solve the problem through relationships, however, sometimes an activity type belongs in more than one Utilisation Type, for example; BD and External Projects need to appear in Productive and Billable categories (eventually I wish to use Utilisation Type to filter my data).

 

I hope the below image is of further use.

 

Thanks in advance!

 

artfulmunkeey_0-1620902067107.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.