Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
I need to remove a filter from a measure.
I have 3 tables - REPO, ISSUES and DATES
I have a column chart X is district and Y is this measure ( Issue Rate )
In Report table -
DAX 1 - measure
Issue Rate = CALCULATE( DIVIDE( COUNTA(ISSUES[type]), DISTINCTCOUNT(REPO[id])))
DAX 2 - CALCULATED COLUMN TO FILTER THE CURRENT WEEK
Latest Week Check = IF(AND(REPO[Week]<LOOKUPVALUE('Dates'[Fiscal Week],'Dates'[Day],REPO[Today]),REPO[ Week]>=DATE(YEAR(REPO[Current Week]),MONTH(REPO[Current Week]),DAY(REPO[Current Week]))-7), "YES", "NO")
To filter the column chart to show the current week data I have added this caculated colum to filters pane and Selected "YES"
Now, I am creating a new tool tip that removes Latest Week Check filter and show the entire data for all the weeks
TOOL TIP
X is REPO[Week]
Y is Issue Rate All (New measure to remove the filter)
Issue Rate All = calcualate (REPO[Issue Rate], Removefilters[repo[Latest Week Check])
I have tried different variations for this ISSUE RATE ALL DAX - REMOVEFILTERS, ALL, ALLEXCEPT. Nothing seems to work I am not sure what column to use also. Let me know where I am going wrong or any other workarouds. Thank you so much.
Solved! Go to Solution.
Hi @rithu
Create a Slicer Table that of a single column that contains "Yes" and "No" and link it to the Latest Week Check column and use it in the slicer. The the tooltip measure would be
Issue Rate All =
CALCULATE (
[Issue Rate],
CROSSFILTER ( REPO[Latest Week Check], SlicerTable[Last Week Check], NONE )
)
Hi @rithu
Create a Slicer Table that of a single column that contains "Yes" and "No" and link it to the Latest Week Check column and use it in the slicer. The the tooltip measure would be
Issue Rate All =
CALCULATE (
[Issue Rate],
CROSSFILTER ( REPO[Latest Week Check], SlicerTable[Last Week Check], NONE )
)
It worked. Thank you so much
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 |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 21 | |
| 14 | |
| 11 | |
| 6 | |
| 5 |