The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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!
Hi, @Anonymous
Not fully sure what you want.
Pleae check if field parameters can help.
Best Regards,
Community Support Team _ Eason
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
Proud to be a Super User!
Check out my blog: Power BI em Português