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! Would like to ask for some help with something if anyone is willing...
I've developed the underlying data to do some rather nice Pareto analysis.
Now as a second part of this, I have a grid that is intended to show records that equal or exceed a certain percentile value. The first slicer from the top left is intended to filter which records are ACTUALLY SHOWN in the grid below (not modifying any measures!)
The best solution I could think of is to filter the source data table for the selected percentile value and then base the grid off the resulting table (either FILTER or CALCULATETABLE results in the same thing). Problem is that the table doesn't change dynamically. Meaning that if I decide to look at the 75th percentile (instead of the 85th percentile as shown in the pic), the table is intended to recalculate and present a new set of data based on the new filter criteria.
DAX code...
FilteredParetoData =
FILTER(
ParetoData,
ParetoData[TotalRevenuePercentile] >= Percentile[Percentile Value]
)
Whenever the percentile value changes, the table does not dynamically recreate the table...it uses to the default value of the Percentile parameter (85). Could anyone provide any suggestions on how to get the table to dynamically repopulate itself and by extension the grid?
Thanks in advance! 🙂
Solved! Go to Solution.
Who wants to hear the most overthought question ever?
I didn't need to dynamically filter to populate anything. I needed a slicer to filter in/out what wasn't necessary. I'm an idiot and I'm sorry to waste your time...
hi, @littlemojopuppy
First, you should know that
1. Calculation column/table not support dynamic changed based on filter or slicer.
2. Measure can be affected by filter/slicer, so you can use it to get dynamic summary result.
here is reference:
https://community.powerbi.com/t5/Desktop/Different-between-calculated-column-and-measure-Using-SUM/t...
https://www.sqlbi.com/articles/calculated-columns-and-measures-in-dax/
Second, Here is the tutorial of Parameters in Power BI Edit Queries for you to refer to
and it couldn't drag into a slicer.
reference:https://www.mssqltips.com/sqlservertip/4475/using-parameters-in-power-bi/
Third, for you requirement, you may try to use “all” functions in DAX: ALL, ALLEXCEPT, ALLSELECTED to create the measure for it.
Best Regards,
Lin
Thank you...I read on Friday that tables are not effected by filters.
Who wants to hear the most overthought question ever?
I didn't need to dynamically filter to populate anything. I needed a slicer to filter in/out what wasn't necessary. I'm an idiot and I'm sorry to waste your time...
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 |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 25 |