Quantcast
Channel: Desktop topics
Viewing all 218264 articles
Browse latest View live

Waterfall total different from calculated measure

$
0
0

Dear,

 

I'm having an agregattion problem in the total of the Waterfall graphic.

In the table I have the correct amount: 1.200 but in the Waterfall it gives 5400.

 

Graphic and Table.pngWaterfall & Table

 

I have the following model:

Relations.jpgRelationsAccount Plan.pngAccount PlanCFFormat.pngCFFormatData.pngData

I have two formulas:

actual = sum(Data[Amount])

 

Consolidated Actual =

VAR subtotalactual = IF(COUNTROWS(CFFormat)=1;

    CALCULATE([actual];ALL(CFFormat);CFFormat[FormatCode]<=VALUES(CFFormat[FormatCode])))

VAR iffiltered = ISFILTERED(AccountPlan[Classification2])

VAR subtotal = MAX(CFFormat[Subtotal])

RETURN

IF(AND(iffiltered=TRUE();subtotal=1);BLANK();

SWITCH(

    TRUE();

    SELECTEDVALUE(CFFormat[Subtotal])=0;[actual];

    SELECTEDVALUE(CFFormat[Subtotal])=1;subtotalactual;BLANK()

)

)

 

I don't understand what should be different to have the correct total amount in the waterfall since the table gives me the correct cumullative amount.

 

Could you please advise? 


calculate the forecast for a semester from a sales table and a forecast table

$
0
0

Dear community, forgive me for my English translated by Google Translation.

I have two tables and a time dimension.

1st table: "Sales" with data from April 2018 to March 2019 is a full fiscal year.

2nd table: "Forecast" with data for June and July 2019 (this is a test game, it is normal that there is no data for the other months).

The scenario would then be:

I click on a month and I wish to have the Forcast of the semester. (example: June, then forecast of the semester 1. November, then forecast of the semester 2) It is therefore necessary to sum the actual results for the months preceding the month selected (if there are months preceding), add the forecast for the current month and finally add the forecast for the following months until the end of the semester.

 

Do you have any idea of a formula to meet this need? PLEASEEEEEEE

 

Thank you very much.

Get employees per site and per period

$
0
0

Hi everyone,

 

I want to get all employees sort by their place of work (site) and sort by their period. My final goal is to get their turnover (sales) and many other stats they have on their different place of work.

For example an employee can work on a place and move on another place and finally go back to the first like that: 

Capture.PNG

I have basically 3 tables responsible of this, Employee, Site and Site_History.

Fields of Employee: id, name, site_id (Site)  -one activate link with Site and one disabled link with Site_History (because of ambiguity)

Fields of Site: id, site_name  -one activate link with Site_History

Fields of Site_History: id, site_id (Site), employee_id, start_date, end_date

 

Actually, my matrix shows me employees in their current sites and gives me for example all their turnover of all their sites in their current site, which is false because if an employee has made turnover in paris it must not appear on lyon but stay in paris. If an employee have many sites, the matrix should show him as many he have site.

 

I hope you'll understand me and my problem.

 

Regards,

ATR

Difference between measures

$
0
0

Hi,

 

Can anyone tell me what is the difference between these two measures?

measures

I've used the same DAX formula, but still power BI is making some differnce and I don't know why. I have problem when I want to use one of measures, I get error that it can't be used.

 

Thank you in advance!

Difference between measures - Fields

$
0
0

Hi,

 

Can anyone tell me what is the difference between these two measures?

Screenshot_1.png

I've used the same DAX formula, but still power BI is making some differnce and I don't know why. I have problem when I want to use one of measures, I get error that it can't be used.

 

Thank you in advance!

Difference between Model and Power Query Relationship (Better Way)

$
0
0

Hi All,

 

Hope everyone is doing. 

 

Regarding relationship i have doubt. i need to understand which run faster when we do the relationships at Power Query level or Model level.

 

In Power Query we use Merger or Append Queries

In Model we use direct relationship

 

Thanks,

K Raghavender Rao

How to rolling calculate the active users?

$
0
0

How to rolling calculate the active users?

The dau = DISTINCTCOUNT('behavior'[user_key])

 

The behavior table is related to a date dimension table, which has a date column.

the wau on 2019-06-03 should be the DISTINCTCOUNT of user_key from 2019-05-27 to 2019-06-02.

 

Any help would be appreciated!

Snipaste_2019-06-04_18-35-18.png

How to calculate a season column?

$
0
0

I'm trying to create a calucted column to calculate season via the DAX formula below but I get error

 

 

Season = 
IF (
    'Date'[MonthNo] >= 9&& 'Date'[MonthNo]<= 12,
   'Date'[Year] & "-"& 'Date'[Year] + 1,
    'Date'[Year] - 1& "-"& 'Date'[Year]
)

 

The table look like this.

ca.png

 


Real Time reports

$
0
0

 Hi , 

my client wants to see  a real time dashbord  to supervise the  process of machines is ok or there is some problems, the data  is coming from Historian (database which saves new data every second from centerlines ) . Can you give me advice which type i need to stream data ? is it azure Real time analytics ? 

give me a good tutorial that can help me to learn how to use it ? 

 Thank you Smiley Very Happy 

Connecting to IMF Data

Drilldown arrows disappear from the plot after update from March to May 2019

$
0
0

Drilldown arrows disappear from the plot after update from March to May 2019. Anyone with the same issue?

 

powerbierror.PNG

Differents ways to calculte total with measure

$
0
0

Hi,

I'm new in PowerBI so maybe my question is not very clear. If so, please tell me and I'll try to be more explicit.

I've created a Measure and its behavoir seems different in two tables. It is called "Moyennes heure supplémentaires". In this first picture, you can see that the total is the mean of all valeus, that's correct and that's the behavior I want.1.png

In this second, the behavior is different, and the total is a sum of the values.

2.png

Why is this happening ? And mot importanty, how can I tell the behavior I want for a measure ?

The measure is composed by other mesure, as you can see :

moyenne_heures_supp = 
IFERROR ( CALCULATE ( [temps_heures_supp] / [effectif_reel] ); BLANK () )

Thanks in advance for your help.

Change source of the "Enter data" query.

$
0
0

I've created a table using the "Enter Data" button, but now I see that I've missed some rows and columns.

2019-06-04 13_42_27-Settings.png

Can the source quickly being changed? I don't want to add new columns or merge it with other tables. For now I must delete that table and remake it, witch it's a lot of thime when you must do that for multiple tables.

Card visualizations

$
0
0

Hi,

i have a card visualization with thousand number and it is displayed like 112K.

If i change display units to "None" or "Auto" it sets 112000 but i want 112.000 .

 

Is it possibile to do that?

2019-06-04 13_50_49-Visualizzazioni Scheda (riquadri con totale) - Power BI _ Microsoft Docs.jpg

Tricky Filtering Issue

$
0
0

Hi Experts

 

I have two visual one as a tables showing Product ID, Product Name and Units Sold (#)  in the second visual i have a dounut chart showing how many products where rejected as Yes and No for products that are good (hence not rejected)

 

I have a Yes No filter in the second visualisation, when i select the Y check box in the second visual its filters the table above correctly.

 

However, when i select the Table and select a particular product.  The dounut chart shows the no. of items in the Yes, No category, but when i further filter using the yes no filter it resets the table above to show all products, as opposed to the one i orginally selected.


Month-to-month comparison last year?

$
0
0

Hello, 

 

Is it possible to make a month-to-month comparison for the same month of last year? I have a workin YTD DAX formula but when I add a month filter it gives me the values for the whole year. 

 

I use the following DAX formulas for the YTD comparison;

 

Sales (current year) = CALCULATE([Total Sales];DATESBETWEEN(Datetable[Date];DATE(YEAR(TODAY());1;1);TODAY()))
Sales (last year) = CALCULATE([Total sales];DATESBETWEEN(Datetable[Date];DATE(YEAR(today())-1;1;1);DATE(YEAR(today())-1;MONTH(TODAY());DAY(TODAY()))))
 
 
 

Displaying time in line graph

$
0
0

My data source is a collection of elapsed race times over multiple dates. My goal is to display a line graph showing the progress of these elapsed times over the dates they occurred. I understand the Y axis can only have numerical values, so my existing "MMSmiley FrustratedS.ms" strings won't work in the graph. I can fix this by converting them to seconds.

 

This fixes the problem & gives me what I want, except for one point: now I'm looking at seconds when my users need to see the time as MMSmiley FrustratedS.ms.

 

Ultimately what would be ideal is to tell the line graph "use seconds when plotting everything, but in the display, only use the "MMSmiley FrustratedS.ms" in the Y axis and data label while the dates are on the X axis."

 

Does that make sense? Is this possible or are there other ways to achieve the same thing?

Static VAR filter for calculated columns

$
0
0

 Anyway you can store your VAR filter somewhere so it can be used by another calculated column as well? 

 

VAR a1 = stuff1

Column 1 = calculate ( stuff2 , filter ( a1 )

Column 2 = calculate ( stuff3 , filter ( a1 )

 

It is a bit annoying to go through all your columns to modify your filter when you want to add something. 

How to update Power BI Desktop connect to Tabular when data model have changed?

$
0
0

I have Power BI Desktop connecting to Azure Analysis Services. I can succesfully publish it to Power BI Services.

I have made update to Tabular model and there are new tables in model and some removed.

 

I don't know how to update data source? Is it only option to create new Ppwer BI Desktop file and start from scratch?

Changing date range on the chart based on slicer selection

$
0
0

Hi,

 

I would like to be able to change the date range on a chart based on a slicer.

This would be similar to relative time slicer but I want to be able to define the time periods in the table and then use them in a slicer:

 

image.png

 

So if I select "Last 3 Days" my chart shows data for 3 days only, if I select "Last Month" my chart shows data for last month...

 

What is the best way to achieve that?

Viewing all 218264 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>