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
I'm trying to calculate the percentile of a value, so dividing a count of the values lower than the row value by a total count of the values. However, the dataset has multiple years, and I want the percentiles to be calculated only within their own year. The code I'm using is;
Solved! Go to Solution.
Thanks a lot for your help.
Just for anyone who has the same issue, the solution that worked for me is a little embarassing; Update PBI.
I'll also follow your advice to see if I can streamline the process as well.
Best,
Hi @maxbradley ,
You can try the following methods:
Could have to do with how you have you data model created in Power BI.
1. You can use Dax Studio to check, use the following link to do it, Find your longest running queries and analyze them.
2. Also related to the format of the datetime:
3. Try disabling ‘Auto date/time’ under Options > Data Load > Time intelligence.
Or
Another way is to go to "Data Cache Management Options" and clear the cache or increase the "Max Allowed" number.
This is the related document, you can view this content:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks a lot for your help.
Just for anyone who has the same issue, the solution that worked for me is a little embarassing; Update PBI.
I'll also follow your advice to see if I can streamline the process as well.
Best,
@maxbradley is that a calculated column. If yes, then try this instead:
AttendancePercentile =
VAR Position = [Attendance]
VAR Acayear = [time_period]
RETURN
COUNTROWS (
FILTER (
'1_absence_3term_geography',
[Attendance] <= Position
&& [time_period] = Acayear
)
)
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 |
|---|---|
| 57 | |
| 38 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 73 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |