Forum Discussion
Formatting Measures
Sample data would help, but it seems like the default Currency format would work. And that will not impact other calculations.
- admiralman8 years agoAdvocate II
Let's assume that the default formats don't satisfy my needs. I need manual formatting control over the measure(s) but still need them to calculate when used for other measures.
- Rfranca8 years agoResolver IV
COME ON.....
1. Create a table named DM_INDICADOR, in this table it will record the measurements that you want to use in your panels, it must have 2 fields: DM_INDICADOR [ID_INDICADOR], DM_INDICADOR [NAME_INDICADOR]. You can use Excel to mount the table.
2. Record the measurements you will use, such as 1; SLI_VOLUME; 2; SLI_GROSSSALES; 3; SLI_NETSALES; 4; SLI_GROSSPRICE etc.
3. Import this table and create a filter;
4. For each registered measure you must create the respective measure / calculation with the same name of course.
5. Create a measure to identify which measure you are going to consult.
Indicador_Selected =
IF(HASONEVALUE(dm_INDICADOR[NOME_INDICADOR]);
SWITCH(VALUES(dm_INDICADOR[ID_INDICADOR]);
1; [SLI_VOLUME]; 2;[SLI_GROSSSALES];3; [SLI_NETSALES];4;[SLI_GROSSPRICE];5;[SLI_NETPRICE];
6; [SLI_NETCOGS];7; [SLI_MARGIM_PERCENT];8;[SLI_TAXPRICE]
); 0)6. Create a measure to identify the formatting that you will use in the selected bookmark.
Indicador_Format =
IF(HASONEVALUE(dm_INDICADOR[NOME_INDICADOR]);
SWITCH(VALUES(dm_INDICADOR[ID_INDICADOR]);
1; "#.###"; 2;"#,###.00";3; "#,###.00";4;"#,###.00";5;"#,###.00";
6; "#,###.00";7; "0.00%";8;"0.00%"); "#.###")
7. Create the measure that you have chosen and you will present it in the tables or graphs of the panels.XIndicator = FORMAT ([Indicator_Selected]; [Indicator_Format])
Ready!
Please try and test using it. And please mark the right reply as answer if your issue has been resolved, otherwise, please feel free to ask if you have any other issue.
Best Regards,
Rfranca- admiralman8 years agoAdvocate II
thanks but I dont think that will work for me. I need all three measures in a matrix and cannot use a filter to pick and choose which one to show.