Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi, pretty new to Power BI
this is my sample data:
I created a matrix out of the same which looks something like this:
I have to perform a division on the Total column as in I want the values to be divided by 7 and display it as a new column. How do I have to approach this?
Solved! Go to Solution.
Hi, @Tahreem24
You can't use matrix table and only show two totals in it at the same time.
What can be done:
If you only need to change total to total record and nothing else.
You can create a measure to modify total.
Like this:
Total Record =
VAR _Total =
SUM ( Table[No of records] )
RETURN
IF ( SELECTEDVALUE ( Table[Month] ) <> BLANK (), _Total, DIVIDE ( _Total, 7 ) )
If you need to show two totals, you need to use table visual, so you need to pivot column to get the matrix table in pq, then you can create two measures to show total and total records.
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
Hi, it is working but it seems to add up in every column values as a record in the matrix. Is there any way to show this as a single seperate column alone, like the TOTAL column
@Anonymous I guess that's not possible to add like a Total which is inbuilt column from Martix visual itself. Otherwise take the Month column under Process type.
Hi, @Tahreem24
You can't use matrix table and only show two totals in it at the same time.
What can be done:
If you only need to change total to total record and nothing else.
You can create a measure to modify total.
Like this:
Total Record =
VAR _Total =
SUM ( Table[No of records] )
RETURN
IF ( SELECTEDVALUE ( Table[Month] ) <> BLANK (), _Total, DIVIDE ( _Total, 7 ) )
If you need to show two totals, you need to use table visual, so you need to pivot column to get the matrix table in pq, then you can create two measures to show total and total records.
Did I answer your question? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
@ Try this Measure DAX:
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 |
|---|---|
| 53 | |
| 39 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 67 | |
| 66 | |
| 34 | |
| 32 | |
| 29 |