Power BI Modelling & DAX: Custom Sorting to Power BI Visuals with DAX DataTable Functions

 Power BI Modelling & DAX: Custom Sorting to Power BI Visuals with DAX DataTable Functions.





DAX Codes for generating the DIM table:


BP Indicator (Index by DAX) =

DataTable(

"Attribute", STRING, "Indicator", STRING, "Index", INTEGER,

               {  

                        {"Systolic BP","Systolic",1},  

                        {"Diastolic BP","Diastolic",2},  

                        {"Heartbeat","Pulse",3}

                }

               )

Comments

Popular posts from this blog

Excel VBA Tips: A Macro to Generate Line Chart Dynamically for Loan Schedule Trend Report

Excel VBA Tips: A Macro to Generate Yearly Loan Schedule Report with Aggregated Monthly Re-Payments

Power BI Advanced Visualizations & R : Circular BarPlot with R Script Visual.