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
Hello,
I have a report where business choose period, lets say they choose 08.2022
For this period, I've got lets say 1000 items active and all of them got some score (1-10). What I would like to do, is to get average score of active items per period
Solved! Go to Solution.
@Pbiuserr yep just with proper column names: 'Table'[column] = value
You could also just put these filters in the visual level filters, but I like better the approach of creating a dedicated measure like our 1st option.
@Pbiuserr if you just write a simple AVERAGE('Table'[score]) you will get the right result when putting it on a chart / matrix breaking down by months and having a filter for true on the active index column.
You can also write somehing like:
CALCULATE(AVERAGE('Table'[score], 'Table'[status] = 'Active')
and then you don't need to use a visual filter context for this measure.
Hi,
For the chart I am aware of. Its for the card. My initial thinking was just to do AVERAGE (column), but I guess its more save if it meets criteria thats its active. To indicate active (CountOfActive, its not unfrotunately the status, but the flag must be 1 and item_prd = 0, so the measure would be :
CALCULATE (AVERAGE (Table[Score], ITEM_PRD = 0, ITEM_FLG = 1) ?
@Pbiuserr yep just with proper column names: 'Table'[column] = value
You could also just put these filters in the visual level filters, but I like better the approach of creating a dedicated measure like our 1st option.
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |