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! Request now

Reply
Anonymous
Not applicable

Get list of IDs in red

Hi all,


I have matrix table with dates, IDs and values.
Have created measure that compares values for each previous date and if the value changed more than 50%, I mark it as 1
In the matrix table for each field that has a value - 1  from the measure, it is colored red.
I want to create slicer for those who have value 1 from measure.
Tried to put measure in slicer, tried to filter by measure but did not work.

Flag measure = 
VAR currentvalue = [valueRate]
VAR previousvalue =
    CALCULATE ([valueRate], table1[test_date] = MAX (table1[test_date]) - 1)
VAR comparisonvalue = (currentvalue - previousvalue) * (100/previousvalue)
RETURN
    IF (
        currentvalue <> BLANK ()
            && previousvalue <> BLANK (),
        SWITCH (
            TRUE (),
            comparisonvalue <= -50, 1
        )
    )



Any advice? 
In best case is there any way to display IDs directley from measure and just get devices if they ever had value 1 from measure?

Thanks!

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

Not fully sure what you want.

Pleae check if field parameters can help.

 

Best Regards,
Community Support Team _ Eason

MFelix
Super User
Super User

Hi @Anonymous,

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors