Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi all,
I have the below parameter and what I would like to do is highlight the minimum month in red to indicate this does not belong to the promotion date
In this case October would be the minimum, however, there are other parameters that I want to include in my slicer which will have a different minimum month.
How would I go about creating this, I realise it is through DAX then add it as a conditional format but am stumped
Solved! Go to Solution.
I have sorted it 🙂
So I created a Google sheet with dates in and the promotions, those dates they fell in I put in a Y and the prior month I put in P.
Imported this, joined it to the dates table and within the conditional format part I put the rule as if it is P then light green.
I have sorted it 🙂
So I created a Google sheet with dates in and the promotions, those dates they fell in I put in a Y and the prior month I put in P.
Imported this, joined it to the dates table and within the conditional format part I put the rule as if it is P then light green.
Hi @villa1980 to highlight the minimum month could you try these please
Create a DAX Measure: Create a measure to identify the minimum month based on your selected slicer.
HighlightMinMonth =
VAR MinMonth = MIN('ODS AAS_DATES'[Month])
RETURN
IF(SELECTEDVALUE('ODS AAS_DATES'[Month]) = MinMonth, 1, 0)
Apply Conditional Formatting:
Thank-you for the reply. Unfortunately the measure does not seem to work as it is returning the minimum value of the Date table rather than the selected value from the parameter.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 39 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 26 |