Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

budget vs sales

I have the following design

Sans titre.png

Budget :

load

"Code Site"&"Code Structure"&Comp&"Date Time" as BudgetId,

    summonth,

    sumyear

;

SQL SELECT "Code Site",

    "Code Structure",

    Comp,

    "Date Time",

    summonth,

    sumyear

FROM QlikDataWarehouse.dbo."V_Budget";

But I didn't get the best result , how to resolve it ?

3 Replies
Mark_Little
Luminary
Luminary

Hi,

Could you please supply a little more information?

What are the issues you are seeing?

From the above I am assuming the table TempVente is your fact table, ideally for the budget values to be driven by the calendar I would be looking to concatenate the budget table to the fact table.

Mark 

rubenmarin

Hi, I would check that the BudgetId values loaded in Budget has a similar value in TempVente tables.

For that I'll create a field BudgetId_Budget in Budget table and a BudgetId_Vente in TempVente tables.

With a table box with BudgetId, BudgetId_Budget and BudgetId_Vente you can check if all columns have a related value or there are something differnt (just guessing but most probably caused by different dates format, maybe one is datetime and the other only date)

jafari_ervin
Creator III
Creator III

what do you mean you didn't get the best result. Please explain more and send sample document.