Exporting Conditional Borders to Excel in SSRS - excel

I have a simple SSRS report with a Tablix and various groupings (1 column grouping, row groupings below)
Groupings:
Group 1
-- Group 2
---- Group 3
------ Group 4
-- Adjacent Group 2
---- Adjacent Group 3
I am trying to implement a conditional border and while it works exactly as intended in Dev, after deployment and even exporting to PDF however, when I export to excel (where it needs to be) it does the following:
The first Group1 grouping displays the border in the correct position (between group 4 and Adj Group 3) however, when exported this is the only grouping that appears correctly. The second group of Group1 places a border on the bottom of every row regardless of the condition.
Now I originally had a conditional statement to perform this however, during my debugging exercise I removed this and placed the condition in the query as a returned column in the dataset (so each row will indicate whether the border should be "Solid" or "None") however, this displayed the same problem. I have changed this value to a static "Solid" and "None" in the query and it shows correctly which makes me assume that there is some conflict with changing the borders.
It is sort of like once the border is turned on it remains on.
Here are the settings I am currently using for the border:
I have moved this border value to the cell below it and placed it on Top rather than bottom and it produces:
This is the first Group1 group which seems to further support the idea that "once it is on, it stays on".
I have done some searching and have yet to find any conclusions. I have seen some bizarre responses to similar problems such as "It is because you have an expression in one setting but the rest are static, change the rest to ="Solid"" which sounds like a remedy to hiccups.
Any help would be greatly appreciated; I have run out of ideas on how I can make this border without some crazy workaround like adding a row or rectangles.
Thanks for your time.

I am still interested in a solution to this problem but to meet deadlines I used a workaround.
If anyone has a problem like this what I had to do was to make an adjacent group to group 4 that was a duplicate of this group i.e. group 4 and the new adjacent group had the same grouping expression. Then I set the border to solid on the bottom of this new group and altered the visibility of both groups to hide/show the necessary rows. In other words, make a group solely for the row that required the border.

I faced a similar issue where in I was defining conditional borders as Solid /None and the "None's" were also showing up as solid when exporting to excel. I changed the borders to all Solid (Default = Solid) and instead changed the border color to White where I wanted Border to be None and Black where I wanted it to be Solid and it seemed to work pretty fine, even with excel export ( I didn't check it with other exporting formats though). Let me know if it helps.

Related

Spacing in Material UI grid not working as expected

Here is my Sandbox for this question: https://codesandbox.io/s/gridspacing-x2fy3?file=/src/Home.jsx
The layout is almost looking how I want it to; however, I would like to be able to adjust spacing between the components within the inner column Grid. Right now, even though I put spacing={4} on line 45 in Home.jsx, it makes no difference whatsoever if I take that line out or replace the value with some number other than 4. I expected the spacing between the components in that Grid to change dependent on that value.
What am I doing wrong and how should I fix it to be able to adjust spacing? Thank you.

Excel stacked line chart shows transition to 0 when empty cell but I don't want it to

I have 2 sets of actual data that need to be stacked. At the current month I want to show 2 sets of projected data also stacked but the transition is currently gradual as if the empty cells are treated as zeroes. I want a vertical separation between the actual and projected.
I'm using Excel (2013). I've tried:
- The Hidden and Empty cells setting... but it locked on Zero (other options greyed out)
- Using #N/A
- Changing ranges (this works when the gap is at the end but not for the Projected values.
Separate the data with the zero into two series ie either side of the zero , then plot the two series ie left part and right part.
Another way would be to have a second chart, transarent except for the second part of the data series sitting on top...
Used to do that with forecasting based on previous values, what looked like one line actually had two charts overlaid one on the other.
So, based on the comment built this:
So, you can now follow and complete the detail you need.

Why is excel displaying my data as zero when I try to chart it?

I've been trying to make a chart comparing two sets of data from 40 countries, but every time I try to make the chart, it shows one data set perfectly normally and the other set is just displayed as zero.
I've tried changing from points to commas and everything else I can find online, but nothing is working.
I know absolutely nothing about coding, so please consider that when helping me out. I'm just trying to fix this for my maths assignment.
Thanks in advance!
The other set is not displayed as zero! If you could use a ... microscope, you would notice that the orange dots are slightly above ground!
Each square in your diagram has a height of 0,5E15, which may also be written as the number 500.000.000.000.000 (5 followed by 14 zeros).
Imagine now that you want to place the dot that corresponds to the Albanian AAS number, which is 2.907.909,20. This is a minuscule number in relation to the height of each square. Excel thus naturally places that dot very close to the bottom of the first square, leading you to believe that it touches the horizontal zero line.
What you can do is the following:
Select with your mouse the line consisting of the orange points. Then right-click and select "Format Data Points" (or the German equivalent, I suppose "Formatieren Datapunkten"). Then search for "Series Options", where you will see the following two choices for "Plot Series On":
Choice 1: Primary Axis
Choice 2: Secondary Axis
Select the second choice and you problem will be resolved.
Viel Glück!

Excel Wrong Graphic

I have this excel's file:
As you can see i also made graphic for it.
The problem is that it is wrong, because i have 2 same "periodo" (201603)
in the graphic, and i don't want it. I want to see it only 1 time, but with 2 columns on it.
Like in this image: (sorry for paint).
I already tried anything: I searched on google and i aksed also to some friends. Please tell me where i'm wrong.
If something isn't clear ask me anything.
1) rearrange you data so that each series, or each bar if you bar is in its own column. See image below. Bob Cat and Dog are the series names. Dates are the axis labels, and the numbers of the series values.
2) make sure the vertical information is in the same row as the vertical information as the bar you want it grouped with.
3) right click on the graph and select "select data"
4) on the left hand side click add series. Select the additional columns for the bar height. make sure you include any blank above the data to keep the size line up with the previous.
5) your labels on the bottom will only show one thing. I would suggest you use your dates. Use your legend to apply series names to the colours.
Caveat: even when there are no values, the series still takes space.
Proof of Concept

Is there a way to use logic in Excel to change fonts?

So I've been working with excel to change characters and colors within cells based on where numbers fall. For example when looking at values less than 10 a symbol will appear as red down arrows and values higher than 30 will be create a green up arrow. This is all well and good and I'm using the Wingdings 3 font on the cells along with various rules to change color. The problem is the middle range. I am attempting to have a circle of varying color appear when the cells being looked at contain values greater than 9 and less than 30 (currently it displays as a horizontal double headed arrow). The problem is the Wingdings 3 font does not include any circle symbols and I can't figure out how to use the Conditional Formatting to change the font based on numerical value.
Hopefully there is a fix to this so that I can continue working on this project.
Below is what my spread sheet currently produces:
Just kidding about the image I don't have enough reputation to do that yet.
Alright so the best way to do this (for my problem) was to go into the Conditional Formatting section of Excel and instead of using the IF function by cell just use the icon sets and manage the rules associated with them. I only needed a red and green arrows and circles and with some toying around with the settings a 4 symbol icon set with my chosen shapes did the trick. It ended up being simpler than the IF logic along with rule application I was attempting at the beginning. Just know that there are few symbol choices and no way to add more in the current version of Excel.

Resources