Forum Discussion
put data into a table format
- Anonymous3 years ago
Hi bigsol84 ,
Consider creating a table like this without joins and using it as a matrix of rows.
The [Index] column here is used to assist the [Energy Voucher Calderdale] sorting.
Then create a measure:
Measure = SWITCH( SELECTEDVALUE('Table'[Energy Voucher Calderdale]), "Voucher Issued",<measure1>, "Additional GAS Eligible Vouchers Issued",<measure2>, "Additional Electric Eligible Vouchers Issued",<measure3>, "Additional Vouchers Issued",<measure4>, "Expired Vochers",<measure4>, "Total Vouchers Issued (Issued - Expired)",<measure6>, "Value of Vouchers Cashed",<measure7>, "Direct Payment Gas",<measure8>, "Direct Payment Electric",<measure9>, "Make Direct Payment",<measure10>, "Value of Direct Payments",<measure11>, "Total Spend",<measure12>, "Households Supported",<measure13>, "Total number of Adults supported",<measure14>, "Total number of Children Impacted",<measure15> )Replace <measure*> with your measure.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi bigsol84 ,
Consider creating a table like this without joins and using it as a matrix of rows.
The [Index] column here is used to assist the [Energy Voucher Calderdale] sorting.
Then create a measure:
Measure =
SWITCH(
SELECTEDVALUE('Table'[Energy Voucher Calderdale]),
"Voucher Issued",<measure1>,
"Additional GAS Eligible Vouchers Issued",<measure2>,
"Additional Electric Eligible Vouchers Issued",<measure3>,
"Additional Vouchers Issued",<measure4>,
"Expired Vochers",<measure4>,
"Total Vouchers Issued (Issued - Expired)",<measure6>,
"Value of Vouchers Cashed",<measure7>,
"Direct Payment Gas",<measure8>,
"Direct Payment Electric",<measure9>,
"Make Direct Payment",<measure10>,
"Value of Direct Payments",<measure11>,
"Total Spend",<measure12>,
"Households Supported",<measure13>,
"Total number of Adults supported",<measure14>,
"Total number of Children Impacted",<measure15>
)
Replace <measure*> with your measure.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- bigsol843 years agoHelper I
Anonymous
Thanks for the advice. How did you make that table? if the fields already have data do i need to create measures for them?
Thanks
- Anonymous3 years agoNot applicable
Hi bigsol84 ,
I created the new table by entering data, combined with adding index columns.
Originally a field, you might consider going to the metric system to replace it.
For example, 'Finance referral Date' [Vouchers Issued] can be replaced with the measure SUM('Finance referral Date'[Vouchers Issued]).
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum