Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6639831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:36:02+00:00 2026-05-25T23:36:02+00:00

I’m working on a SSRS report and I’m having an issue with my Plant

  • 0

I’m working on a SSRS report and I’m having an issue with my Plant name not showing when there is no data available for the date range selected.

The far left column, first row (technically the 2nd by the image) is where my plant name should appear at all times:

enter image description here

enter image description here

Essentially the first image showed just my blank rows/columns. The first column, first row is where my plant name should be at all times. The remaining columns are my returned data based on date selection.

The second image would show everything working as it should when there is data.

I’m grouping by PlantCode in SSRS which is what gives my my plant name. I don’t know how to get the plant name to appear even if there is not data available.

Is this possible?

I THOUGHT I could use something like iif(salesvolume is NOTHING, [PlantCODE],[PlantCode])

Here is the database query for the report

SELECT
    PInv.[Plant_Numer],
    PInv.[Plant_Code],
    PInv.{Department_number],
    PInv.[Inventory_Volume],
    Pinv.[Inventory_Date], -- 'Last Inventory Date'
    pls.[Actual_Volume],
    pls.[Budget_Volume],
    ppf.[Good_Output_Product_Units] AS 'Production Volume', -- 'Next Day Production
    CASE 
        WHEN coalesce (pls.[Acutal_Volume],0) = 0 and coalesce (pls.[Actual_Sales_Dollars],0) = 0 THEN 0
        ELSE ((pls.[Actual_Sales_Dollars/pls.[Actual_Volume])) AS 'Average Price' -- 'Next Day Sales'
FROM
    [TrueOpportunity].[dbo].[Production_Fact] pf
    inner join [TrueOpportunity].[dbo].[Production_Process_Fact] ppf on ppf.production_number = pf.production_number
    inner join [TrueOpportunity].[dbo].[Process] prc on prc.process_number = pf.process_number
    inner join [TrueOpportunity].[dbo].[Department] dpt on dpt.department_number = prc.department_number
    inner join [WoodProduction_New].[dbo].[Plywood_Layup_Sales] pls on pls.procesS_number = pf.procesS_number
    inner join [WoodProduction_New].[dbo].[Process_Inventory] Pinv on PInv.[Inventory_Date] = pf.date 
        and pls.product_date = pf.date 
        and dpt.department_number = pinv.department_number
WHERE
    pf.date between @BeginningDate and @EndingDate
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T23:36:03+00:00Added an answer on May 25, 2026 at 11:36 pm

    I think you want to change your query so that Process Inventory is your primary table and all other tables are LEFT JOINED to that table. That way the Plant Number & Code will show up regardless of whether there is matching data in the other tables.

    This syntax is probably not completely correct, but I would start out by changing your FROM clause to look something like this:

    FROM
        [WoodProduction_New].[dbo].[Process_Inventory] Pinv
        LEFT JOIN [TrueOpportunity].[dbo].[Production_Fact] pf 
            ON PInv.[Inventory_Date] = pf.date
        LEFT JOIN [TrueOpportunity].[dbo].[Production_Process_Fact] ppf 
            ON ppf.production_number = pf.production_number
        LEFT JOIN [TrueOpportunity].[dbo].[Process] prc 
            ON prc.process_number = pf.process_number
        LEFT JOIN [TrueOpportunity].[dbo].[Department] dpt 
            ON dpt.department_number = prc.department_number 
            AND dpt.department_number = pinv.department_number
        LEFT JOIN [WoodProduction_New].[dbo].[Plywood_Layup_Sales] pls 
            ON pls.process_number = pf.process_number 
            AND pls.product_date = pf.date 
    

    Experiment with that and see if you can get it to display the data that you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am using JSon response to parse title,date content and thumbnail images and place
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I know there's a lot of other questions out there that deal with this
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I need a function that will clean a strings' special characters. I do NOT
I'm not entirely sure how I managed to jack this up. http://pretty-senshi.com If you
I want to construct a data frame in an Rcpp function, but when I
I'm having trouble keeping the paragraph square between the quote marks. In firefox the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.