Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi dear community,
I have a column in which my values are listed. Nothing special, just like this:
1 |
2 |
2.3 |
1.9 |
1.3 |
What I want to accomplish is, that the cells will e.g. turn red if the difference between them is higher than 0.5, like this:
1 |
2██████ |
2.3 |
1.9 |
1.3█████ |
1.1 |
1.7█████ |
1.3 |
Please excuse the poor depiction. If it's easier, it can also be a marking in a cell in the next colum.
Thank you very much for your time!
Kind Regards
Solved! Go to Solution.
Hi @Anonymous ,
You can achieve your required output in many different ways, but since your numerical column has numbers which are repetitive and not in numerical order, and the data table in Power BI does not store the order as it is in your column I've added an index column using Power Query to make things easier in terms of respecting your original data order without aggregation.
Then, I've added a column next to your original column to indicate the previous row value.
Then, I've added a simple calculated column to indicate the difference with the previous column larger than 0.5 in absolute value as indicated in your example.
Lastly, I've written a color measure to be used in the background color for orignal column.
I attach an example pbix file.
Best regards,
What you need are only 2 simple things:
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
What you need are only 2 simple things:
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi @ThxAlot
Good idea 😀 How did you manage to hide index column from your final output as shown below?
Best regards,
Hello, @DataNinja777 , you can toggle off "Text wrap" for both "Values" and "Column headers"; then manually drag "Index" width to hide it.
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi @Anonymous ,
You can achieve your required output in many different ways, but since your numerical column has numbers which are repetitive and not in numerical order, and the data table in Power BI does not store the order as it is in your column I've added an index column using Power Query to make things easier in terms of respecting your original data order without aggregation.
Then, I've added a column next to your original column to indicate the previous row value.
Then, I've added a simple calculated column to indicate the difference with the previous column larger than 0.5 in absolute value as indicated in your example.
Lastly, I've written a color measure to be used in the background color for orignal column.
I attach an example pbix file.
Best regards,
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
9 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |