The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi there,
I am very new to Power BI and need to create a report that displays the following table:
------------------------------------------------------
| Cohort | ABC | XYZ |
------------------------------------------------------
| Measure | Fam | Sib |Total| Fam | Sib |Total|
------------------------------------------------------
| Value |100 |200 | 300 | 400 | 500 | 900 |
------------------------------------------------------
Everything in this table is static except for the 100, 200, 300, 400, 500, values in the last row. These values will come from measures. I believe I know how to create the measures by using DAX. I would appreciate any pointers on what stuff to read to be able to develop this very simple report.
Thank you!
Solved! Go to Solution.
HI @mvi
One approach is to model your data like this
and then you can configure the matrix visual like this
Here is a PBIX File for you to try : https://1drv.ms/u/s!AtDlC2rep7a-xiyUQSVxIhW5uZeQ?e=QS3s71
Hi @mvi
Not quite understand your requirement. Do you mean the Value should be a measure rather than a column? It doesn't matter. you can replace the field with measure, such as:
Hi @mvi
You can double click the column name in the filed as below:
Please kindly mark my answer as a solution if it helps, thanks a lot!
HI @mvi
One approach is to model your data like this
and then you can configure the matrix visual like this
Here is a PBIX File for you to try : https://1drv.ms/u/s!AtDlC2rep7a-xiyUQSVxIhW5uZeQ?e=QS3s71
Thanks Phil!
How do I replace the 100 and 200 values with actual counts (measures) from my SQL Server database?
Thanks again!
Hi @mvi
Not quite understand your requirement. Do you mean the Value should be a measure rather than a column? It doesn't matter. you can replace the field with measure, such as:
Thank you!
One last question: how to I change column captions in the table, such as "ValueMeasure"?
Hi @mvi
You can double click the column name in the filed as below:
Please kindly mark my answer as a solution if it helps, thanks a lot!
User | Count |
---|---|
69 | |
64 | |
62 | |
54 | |
28 |
User | Count |
---|---|
112 | |
81 | |
65 | |
48 | |
42 |