Forum Discussion
Change Value Format by Row-Level in Same Matrix
- 2 years ago
Hi, you can create a dynamic formatting on the column.
For example, keep the value column format as General and create a simple measure on that value column.sum val =SUM(Dyn_Formatting[Value])Then once you bring that measure in the visual, change the Format to Dynamic. then in the dynamic Formatting, you can use the below logic.As you can see whole numbers are being displyed as number and percentage fields are in %.
If this resolves your problem, then please accept it as solution, thanks!
Hi, you can create a dynamic formatting on the column.
For example, keep the value column format as General and create a simple measure on that value column.
As you can see whole numbers are being displyed as number and percentage fields are in %.
If this resolves your problem, then please accept it as solution, thanks!
This is a great start! I am wondering if I can use Switch/True to add more formats? for example, if I need to show percent, decimal, and whole number - is this possible? I'm not sure how else to identify these types of number formats
- samratpbi2 years agoSuper User
Hi,
yes, you can do. using a condition like [sum_val] = or <> INT ([sum_val) you should be able to identify whether a value is decimal or whole number. I have created the format based on the values in your example.
If this resolves your problem, then please accept it as solution, thanks!