March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hello,
I have a table where I work with conditional formatting in a separate column. So, based on several conditions this column shows a certain color code (#008B00, #FF0000, #FFFF00, #BEBEBE). For my Pie Chart, I use measures to show the distribution of these colors:
PieChartGreen = COUNTX(FILTER(Table, ColorLogicMeasure = "#008B00"), ColorLogicMeasure)
I use this way because the coloring is based on dates and the dates can be changed by pre-selection in a slicer.
But with this implementation it's not possible to click on one section of the PieChart to filter the table. I tried to create a connection via the Legend field but it is not possible to use measures there.
Any idea on how to solve this problem?
Thank you!
Hello @JD193704 ,
try making this conditional formatting field as a calculated column in the main table that has the data, then you can use it to filter it.
Proud to be a Super User! | |
The problem is I was not able to make it work with a conditional column. The measure for the conditional formatting looks basically like this:
Measure =
VAR Date1 = ...
VAR Date_Changing = Measure_Deadline
RETURN
IF(Date1 > Date_Changing,...
Is it possible to have a VAR defined in a column, that changes based on a slicer setting which changes the threshold for the Date_Changing? If you know what I mean...
Hello @JD193704 ,
no this won't work as a calculated column if there's an input taken from a slicer.
and also in your case the measure won't let you filter the table.
Proud to be a Super User! | |
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |