Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi All,
I am adding some measures as Internal sales, external sales, internet sales. But the trick part is based on the measure i need to create a new column showing what is what , please see the attached excel sheet. I have tried Enter data and add columns, but that did not work. Also when I add the measures , they are coming as columns and not rows. The highlighted column is manually typed.
Please advice.
Thanks
Solved! Go to Solution.
Hi @amybirc77 ,
Try the following way of adding a row record:
update =
VAR a =
UNION (
ROW ( "Type", "internal", "Sales", "300" ),
ROW ( "Type", "external", "Sales", "450" )
)
RETURN
UNION ( 'Table', a )
Or you can create the original data in excel, connect to this data source in powerbi, when the data in the excel table is updated, click the refresh button will update the latest data (this way regardless of the line or column data are not affected, but it should be noted that the data type of each column must be consistent).
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @amybirc77 ,
Try the following way of adding a row record:
update =
VAR a =
UNION (
ROW ( "Type", "internal", "Sales", "300" ),
ROW ( "Type", "external", "Sales", "450" )
)
RETURN
UNION ( 'Table', a )
Or you can create the original data in excel, connect to this data source in powerbi, when the data in the excel table is updated, click the refresh button will update the latest data (this way regardless of the line or column data are not affected, but it should be noted that the data type of each column must be consistent).
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I am not sure if i understand your question correct or not, use matrix visualisation and add intrnet sales, external and internal sales in rows session and sales measures in column session, it may work
@kollasv thanks. But the columns highlighted do not exist in the CUBE i need to enter them manually and when I add the measures they are showing up next to other like two columns and not one underneath the other, like this screen shot
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |