Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
HI Expert,
I have 5 filters
| FilterName |
| 1 Month |
| 3 Month |
| 6 Month |
| 1 year |
I have already Created DAX formula for Percentage
by default I have selected 6 Month.
if I have selected 3 Month then we need compare 6Month vs 3 Month Percentage is greater values GREEN otherwise RED
same can selected filter one filter then should be compare previous Month selected.
I can selected any one then should be compare i am selected previous filter.
Please any own can help DAX formula.
I need creare Arrow Indicate
Thanks
Vedantika_S
Hi, could you post your data frame to visualize?
I created a dax function once:
Previous Balance =
VAR MinDate = CALCULATE( MIN('Public DimDate'[Date]), ALLSELECTED('Public DimDate'[Date]) )
RETURN
CALCULATE(
SUMX('Account FactAccountMoviment',
'Account FactAccountMoviment'[CreditValue] - 'Account FactAccountMoviment'[DebtValue])
,FILTER(ALL('Public DimDate'),'Public DimDate'[Date] < MinDate )
)The var Mindate is possible to get the Min value from slicer, i think you have to get many dimension of date as you have in slicers to get each date.
Hope this help you
@Vedantika_V , no, we do not have a way to know the previously selected value, You have two create two slicers from two different tables and use those
refer
How to use two Date/Period slicers
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.
| User | Count |
|---|---|
| 45 | |
| 43 | |
| 38 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 31 | |
| 28 | |
| 24 |