cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
Microsoft
Microsoft

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
Microsoft
Microsoft

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors