Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hi Team,
Purpose: To reduce the number of visuals on the page.
Looking for as solution to implement small multiples (line chart) but without any legends in use, just using KPI's as the legends.
In below screenshot, I want to club all these selected line charts Metrics into 1 line chart using small multiples feature.
FYI, the scaler numbers is shown using New card visual.
Please help with any workarounds reference/ sample solution file.
Regards,
Sumesh
Solved! Go to Solution.
Hi @SUMESHKUMAR22
If you want to stay with the new cards you can use a svg sparklines to achieve something similar.
Please refer to the linked video ( from 12 minute ) :
https://www.youtube.com/watch?v=oHAeKf04ne8
If you want a small multiple you can instead of using dynamic measure and text boxes like :
To achieve it, you can create a disconnected table like :
Sort the measures by needed order :
Create standard needed measures :
Total Sales | = | DIVIDE(SUM(Sales[Sales]),1000) |
Total profits | = | Divide (sum('Sales'[Profits]),1000) |
profits% | = | DIVIDE([Total profits],[Total Sales])*100 |
Create a dynamic measure :
The next step is creating the titles for every section:
Title for Sales | = | "Sales K/$ :" & [Total Sales] |
Title for profits | = | "Profits K/$ :" & [Total profits] |
Title for profits % | = | "Profits % :" & FORMAT( [profits%]/100,"0.0%") |
Result (ignore the blue lines they will not be shown after publishing)
You can also group all the elements together:
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @SUMESHKUMAR22
To mark the last point and that label on a small multiple you can apply these steps:
1. Create a Dax measure for the color, which will be with the color you need if we are on the last point, and white transparent if we are not :
3. Modify conditional formatting for column color based on the measure that we created:
Now change the graph back to line:
6. Do the same conditional formatting trick with the data labels, based on the same measure :
Result :
The updated pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
@Ritaf1983 , thanks for the detailed solution 🙂
How we can display the maxdate datapoint & display value label for that on the line viz?
Thanks,
Hi @SUMESHKUMAR22
If you want to stay with the new cards you can use a svg sparklines to achieve something similar.
Please refer to the linked video ( from 12 minute ) :
https://www.youtube.com/watch?v=oHAeKf04ne8
If you want a small multiple you can instead of using dynamic measure and text boxes like :
To achieve it, you can create a disconnected table like :
Sort the measures by needed order :
Create standard needed measures :
Total Sales | = | DIVIDE(SUM(Sales[Sales]),1000) |
Total profits | = | Divide (sum('Sales'[Profits]),1000) |
profits% | = | DIVIDE([Total profits],[Total Sales])*100 |
Create a dynamic measure :
The next step is creating the titles for every section:
Title for Sales | = | "Sales K/$ :" & [Total Sales] |
Title for profits | = | "Profits K/$ :" & [Total profits] |
Title for profits % | = | "Profits % :" & FORMAT( [profits%]/100,"0.0%") |
Result (ignore the blue lines they will not be shown after publishing)
You can also group all the elements together:
The pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @SUMESHKUMAR22
To mark the last point and that label on a small multiple you can apply these steps:
1. Create a Dax measure for the color, which will be with the color you need if we are on the last point, and white transparent if we are not :
3. Modify conditional formatting for column color based on the measure that we created:
Now change the graph back to line:
6. Do the same conditional formatting trick with the data labels, based on the same measure :
Result :
The updated pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
93 | |
75 | |
65 | |
51 | |
36 |
User | Count |
---|---|
113 | |
90 | |
80 | |
62 | |
40 |