Forum Discussion

AtulsDream's avatar
AtulsDream
Frequent Visitor
2 years ago
Solved

How to setup decimal points dynamically for same column

Hello Everyone,   I am creating Power BI reports, which have multiple columns. first dimension column having fields, and other fact columns generating the data for that selected dimension rows. P...
  • AtulsDream's avatar
    AtulsDream
    2 years ago

    Hello,

     

    I have resolved the issue, I have created measures for all indivisual columns and applied the formatting to each row.

    Example: 

    10th = SWITCH(
        TRUE(),
        MAX(Table1[DESC_COLUMN]) = "Observed", FORMAT(MAX(Table1[PERCENTILE_Column]),"#,0.0"),
        ----- Same for all Rows -----,
       FORMAT(MAX(Table1[PERCENTILE_Column]), "#,0")
        )
     
    It resolves the issue.
    Thanks