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
Is it was possible to create a table that looks like this in PowerBi
| January 2018 | February2018 | March2018 | April2018 |
Average | 10 | 11 | 10 | 9 |
Median | 9 | 12 | 8 | 7 |
1st Quartile | 4 | 6 | 5 | 5 |
And the data that we have looks like this:
January2018Counts | February2018Coutns | March2018Counts | April2018Counts |
3 | 3 | 4 | 4 |
4 | 6 | 5 | 5 |
6 | 7 | 8 | 6 |
9 | 12 | 8 | 7 |
12 | 12 | 10 | 9 |
16 | 17 | 16 | 12 |
20 | 19 | 19 | 17 |
Solved! Go to Solution.
@Anonymous ,
Firstly, in query editor, click unpivot columns, then you will achieve the Attribute and Value columns. After applied&close, create three measures using dax below:
Average = CALCULATE(AVERAGE('Table'[Value]), ALLEXCEPT('Table', 'Table'[Attribute]))
Median = CALCULATE(MEDIAN('Table'[Value]), ALLEXCEPT('Table', 'Table'[Attribute]))
1st Quartile = CALCULATE(PERCENTILE.EXC('Table'[Value], 0.25), ALLEXCEPT('Table', 'Table'[Attribute]))
The result will be like below:
You can also refer to the pbix file.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I Used below solution and that helped :
Built the measures needed and put them in the ‘values’ on the matrix along with the date in the ‘columns’. Then selected the setting called ‘Show on rows’ in the values settings on the matrix.
@Anonymous ,
Firstly, in query editor, click unpivot columns, then you will achieve the Attribute and Value columns. After applied&close, create three measures using dax below:
Average = CALCULATE(AVERAGE('Table'[Value]), ALLEXCEPT('Table', 'Table'[Attribute]))
Median = CALCULATE(MEDIAN('Table'[Value]), ALLEXCEPT('Table', 'Table'[Attribute]))
1st Quartile = CALCULATE(PERCENTILE.EXC('Table'[Value], 0.25), ALLEXCEPT('Table', 'Table'[Attribute]))
The result will be like below:
You can also refer to the pbix file.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I Used below solution and that helped :
Built the measures needed and put them in the ‘values’ on the matrix along with the date in the ‘columns’. Then selected the setting called ‘Show on rows’ in the values settings on the matrix.
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 | |
| 23 |