Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello! I am building a dashboard which trims outlier data from a year's worth of hourly data. I am using PERCENTILE.INC to replicate Excel's TRIMMEAN, filtering the bottom and top 10th percentile and creating a new average.
If I enter static values into my DAX measure, it works, but if I refer to my PERCENTILE.INC measures, it gives me nothing. Examples below.
I read the below article stating that the function just doesn't work inside CALCULATE, and I should consider creating a variable. I don't know much about variables yet, so unsure if this is the best solution or how best to approach it. Any help appreciated, I want to keep my measure dynamic to changes to the values of these PERCENTILE measures.
Solved! Go to Solution.
@Anonymous
Please check this measure, enter the correct table, and measure
Trimmed funnel average conversion =
VAR 10PC = [10TH PERCENTILE VISIT CONVERSION]
VAR 90PC = [90TH PERCENTILE VISIT CONVERSION]
RETURN
CALCULATE (
[AVERAGE FUNNEL MEAURE]
FILTER (
FLOSE_METRICS,
[FUNNEL VISIT CONVERSION] > 10PC &&
[FUNNEL VISIT CONVERSION] < 90PC
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@Anonymous
Please check this measure, enter the correct table, and measure
Trimmed funnel average conversion =
VAR 10PC = [10TH PERCENTILE VISIT CONVERSION]
VAR 90PC = [90TH PERCENTILE VISIT CONVERSION]
RETURN
CALCULATE (
[AVERAGE FUNNEL MEAURE]
FILTER (
FLOSE_METRICS,
[FUNNEL VISIT CONVERSION] > 10PC &&
[FUNNEL VISIT CONVERSION] < 90PC
)
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
47 | |
26 | |
22 | |
12 | |
8 |
User | Count |
---|---|
76 | |
50 | |
46 | |
16 | |
12 |