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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
colourfullife
Post Partisan
Post Partisan

Slicer

Hi All,

 

I need your help.

I want to make slicer to filter each lines that created indivisually in the graph.

 

this is my graph.

 

gernal.PNG

 

for stick graph, i used this dax :

1. CBT Issurance = CALCULATE(COUNT('Data - CSU SP'[CBT issuance date]),USERELATIONSHIP('Data - CSU SP'[CBT issuance date],'calendar'[Date]))
 
for line graph i used : 
CBT Issurance = IF("CBT Issurance" in values('SP Filter'[SP Filter]),
CALCULATE(
    COUNTA('Data - CSU SP'[CBT issuance date]),USERELATIONSHIP('Data - CSU SP'[CBT issuance date],'calendar'[Date]),
    FILTER(
        ALLSELECTED('calendar'[Date]),
        ISONORAFTER('calendar'[Date], MAX('calendar'[Date]), DESC)
    )
))

 

 

i created one slicer but it only filter line graph.

can i make a new slicer which can filter stick and line at the some time?

 

what i want is when i filter CBT issurance, then CBT data up on graph.

now all sticks are up on. 

what i want.PNG

 

if the question is not clear, please let me know.

 

thanks,

CL

1 REPLY 1
V-pazhen-msft
Community Support
Community Support

@colourfullife 

Can you share a sample pbix so I can test out?


Regards

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!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

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