Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I have the below table where each month column have two values and would like to add distinct lines between each month as the red ones (thank you MS paint).
I'm not able to find a relevant setting in the table settings. Does anyone know the correct setting?? 😀
Solved! Go to Solution.
In Power BI, adding distinct lines between combined columns in a table visual is not a built-in feature, and there's no direct setting in the table settings to achieve this. However, you can create the appearance of distinct lines by inserting a separate calculated column in your data that contains a delimiter (such as a vertical bar "|") between the combined columns. Then, you can use this calculated column in your table visual.
Here are the steps to achieve this:
Add a Calculated Column to Your Data:
In Power BI's "Model" view or Power Query Editor, add a new calculated column to your data table. You can name it something like "Combined with Delimiter."
In this calculated column, use a formula to combine the values from your existing columns along with a delimiter. For example, if you have two columns, [Month1] and [Month2], and you want to combine them with a vertical bar delimiter, your formula might look like this:
Combined with Delimiter = [Month1] & " | " & [Month2]
Adjust the formula to match your column names and desired delimiter.
Use the Calculated Column in Your Table Visual:
In your table visual, replace the existing columns with the "Combined with Delimiter" calculated column. Your table should now show the combined values with the delimiter.
Format the Table Visual:
To make the delimiter appear as a distinct line, you can format the table visual to emphasize it. Here's how:
You may also want to adjust other formatting settings, such as row colors and column headers, to make the table appearance align with your desired style.
By following these steps, you can create the illusion of distinct lines between combined columns in your table visual. Remember to customize the formatting to match your specific design preferences.
In Power BI, adding distinct lines between combined columns in a table visual is not a built-in feature, and there's no direct setting in the table settings to achieve this. However, you can create the appearance of distinct lines by inserting a separate calculated column in your data that contains a delimiter (such as a vertical bar "|") between the combined columns. Then, you can use this calculated column in your table visual.
Here are the steps to achieve this:
Add a Calculated Column to Your Data:
In Power BI's "Model" view or Power Query Editor, add a new calculated column to your data table. You can name it something like "Combined with Delimiter."
In this calculated column, use a formula to combine the values from your existing columns along with a delimiter. For example, if you have two columns, [Month1] and [Month2], and you want to combine them with a vertical bar delimiter, your formula might look like this:
Combined with Delimiter = [Month1] & " | " & [Month2]
Adjust the formula to match your column names and desired delimiter.
Use the Calculated Column in Your Table Visual:
In your table visual, replace the existing columns with the "Combined with Delimiter" calculated column. Your table should now show the combined values with the delimiter.
Format the Table Visual:
To make the delimiter appear as a distinct line, you can format the table visual to emphasize it. Here's how:
You may also want to adjust other formatting settings, such as row colors and column headers, to make the table appearance align with your desired style.
By following these steps, you can create the illusion of distinct lines between combined columns in your table visual. Remember to customize the formatting to match your specific design preferences.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
98 | |
96 | |
75 | |
71 | |
64 |
User | Count |
---|---|
140 | |
109 | |
103 | |
82 | |
73 |