Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
mvi
Regular Visitor

Please help a newbie with very simple static table

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!

3 ACCEPTED SOLUTIONS
Phil_Seamark
Employee
Employee

HI @mvi 

 

One approach is to model your data like this

 

image.png

 

and then you can configure the matrix visual like this

 

image.png

 

Here is a PBIX File for you to try : https://1drv.ms/u/s!AtDlC2rep7a-xiyUQSVxIhW5uZeQ?e=QS3s71

 

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

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:

8.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

Hi @mvi 

 

You can double click the column name in the filed as below:

000.PNG

Please kindly mark my answer as a solution if it helps, thanks a lot!

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

View solution in original post

5 REPLIES 5
Phil_Seamark
Employee
Employee

HI @mvi 

 

One approach is to model your data like this

 

image.png

 

and then you can configure the matrix visual like this

 

image.png

 

Here is a PBIX File for you to try : https://1drv.ms/u/s!AtDlC2rep7a-xiyUQSVxIhW5uZeQ?e=QS3s71

 

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

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:

8.PNG

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

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:

000.PNG

Please kindly mark my answer as a solution if it helps, thanks a lot!

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.