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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
sajjadkhan25
Helper I
Helper I

Need to filter table using 2,2 slicers

Hi Guys,

Hope all are doing good,
need one help,
I have one table in that 2 columns i.e type,date
i have to filter table column wise like 

TypeType
DateDate

 

Particularstypetype
1  
2  
3  

 

 

@amitchandak , @parry2k 

please help me with this

4 REPLIES 4
sajjadkhan25
Helper I
Helper I

Hi @Amit sir,

actuals and budget values shd be in one column so that i can put filter on it 

sajjadkhan25
Helper I
Helper I

Hi @amitchandak  sir,

i have table 

PerActual MarActual FebBudget Mar Budget Feb
COGS          (0.9)     (1.146)1.31.4

 

I should get like,

 AB
PerMonth AMonth B
Cogs  

 

A and B are slicers which shows actuals and budget 
even Month and Month will be slicers 
User should be able to select which actual or budget and can compare monthwise too 
example: Actual selected in both A and B slicers 
in Month A Feb Month B Mar 
data should be shown accordingly please suggest me how can i handle this.

@sajjadkhan25 , check if this power query code can help, to build correct table

 

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WcvZ3D1bSUVKAAw0DPUtNmIiGoZ6hiRmIa6hnDCZNlGJjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Per = _t, #"Actual Mar" = _t, #"Actual Feb" = _t, #"Budget Mar " = _t, #"Budget Feb" = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Per", type text}, {"Actual Mar", type number}, {"Actual Feb", type number}, {"Budget Mar ", type number}, {"Budget Feb", type number}}),
    #"Unpivoted Columns" = Table.UnpivotOtherColumns(#"Changed Type", {"Per"}, "Attribute", "Value"),
    #"Split Column by Delimiter" = Table.SplitColumn(#"Unpivoted Columns", "Attribute", Splitter.SplitTextByDelimiter(" ", QuoteStyle.Csv), {"Attribute.1", "Attribute.2"}),
    #"Changed Type1" = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Attribute.1", type text}, {"Attribute.2", type text}}),
    #"Pivoted Column" = Table.Pivot(#"Changed Type1", List.Distinct(#"Changed Type1"[Attribute.1]), "Attribute.1", "Value", List.Sum)
in
    #"Pivoted Column"
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@sajjadkhan25 , Not very clear


Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors