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
r6raven
New Member

Grouping results in a report table

Hi everyone!

 

I'm using Power BI Desktop to create a catalog of sorts and the idea is for users to select whatever options are appropriate across three slicers (could be any combination of 0-3 filters) and I need the resulting table to remove duplicate values based on a subset of the columns (meaning they are not duplicates across all five columns, so it's more of a grouping based on the first three columns).

 

The below shows the relationship, a sample of the source data, the current output, and what I'm trying to achieve. Can anyone confirm first if this is possible with tables/slicers or if I need to approach it another way, and if it is possible, how I can group the output?

 

Thanks in advance!

 

Master File Mapping File 
Language ID1:*Language ID*Note: cross-filter direction: single
Language Text State 
Is Special? City 
[Other supporting info]   

 

MASTER FILE
Language IDLanguage TextIs Special?
AThis field represents the language specific to identifier A.Yes
AThis field represents the language specific to identifier A.Yes
AThis field represents the language specific to identifier A.Yes
AThis field represents the language specific to identifier A.Yes
AThis field represents the language specific to identifier A.Yes
AThis field represents the language specific to identifier A.Yes
BThis field represents the language specific to identifier B.No
BThis field represents the language specific to identifier B.No
CThis field represents the language specific to identifier C.Yes
CThis field represents the language specific to identifier C.Yes
CThis field represents the language specific to identifier C.Yes
CThis field represents the language specific to identifier C.Yes

 

Using slicer to filter by State=California returns: 
AThis field represents the language specific to identifier A.YesCaliforniaLos Angeles
AThis field represents the language specific to identifier A.YesCaliforniaSan Francisco
AThis field represents the language specific to identifier A.YesCaliforniaHollywood
BThis field represents the language specific to identifier B.NoCaliforniaHollywood
CThis field represents the language specific to identifier C.YesCaliforniaSan Francisco
CThis field represents the language specific to identifier C.YesCaliforniaHollywood
     
Want it to return:
AThis field represents the language specific to identifier A.YesCalifornia[Any]
BThis field represents the language specific to identifier B.NoCalifornia[Any]
CThis field represents the language specific to identifier C.YesCalifornia[Any]
     
Using slicer to filter by Is Special = Yes returns:
AThis field represents the language specific to identifier A.YesCaliforniaLos Angeles
AThis field represents the language specific to identifier A.YesCaliforniaSan Francisco
AThis field represents the language specific to identifier A.YesCaliforniaHollywood
AThis field represents the language specific to identifier A.YesNevadaReno
AThis field represents the language specific to identifier A.YesNevadaVegas
AThis field represents the language specific to identifier A.YesTexasHouston
CThis field represents the language specific to identifier C.YesCaliforniaSan Francisco
CThis field represents the language specific to identifier C.YesCaliforniaHollywood
CThis field represents the language specific to identifier C.YesNevadaVegas
CThis field represents the language specific to identifier C.YesIowaDes Moines
     
Want it to return:
AThis field represents the language specific to identifier A.Yes[Any][Any]
CThis field represents the language specific to identifier C.Yes[Any][Any]
     
Using slicer to filter by City = Hollywood returns:
AThis field represents the language specific to identifier A.YesCaliforniaHollywood
BThis field represents the language specific to identifier B.NoCaliforniaHollywood
CThis field represents the language specific to identifier C.YesCaliforniaHollywood
     
This is appropriate!
1 REPLY 1
r6raven
New Member

Apologies, that formatting did not post in the way it was laid out in the preview... Just to clarify, the state and city are separate columns and the Yes/No in the output references the "Is Special" value.

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.