Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
Hi,
I am having issue to use measure in chart , filter visuals. Measure is giving me the correct result but I need to use it as bar chart, how to convert measure to calculated column.
How can I use this measure in a bar chart to show number of items in respective status
Thanks for responding. 
I have individaul measures where the calculation has been done and then there is a "Overall Status" measure where I am using Switch to use individual measures to return the result. 
Hi @Chaithrar
You can refer to the following solution.
1.Put the status to a new table
e.g
2.Then create the measure
e.g
Switch_measure =
VAR a =
    ADDCOLUMNS (
        'Table (2)',
        "judge",
            SWITCH (
                TRUE (),
                [Sum] >= 10
                    && [Sum] < 40, "a",
                [Sum] >= 40
                    && [Sum] < 60, "b",
                [Sum] >= 60, "c"
            )
    )
RETURN
    COUNTROWS ( FILTER ( a, [judge] IN VALUES ( 'Table'[Type] ) ) )
3.Put the status and measure to the related visual
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.