Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Measure with userelationship wrong value in bar

Hi Guys,

 

I have a problem with my measure, only have 3 tables:

 

Calendar

Users

Shopping

 

When I do the operation to get the only number of users that I bought, it does not give me a problem, it shows me the result, but when I pass this value to a graph, other values ​​come to me, someone knows why. 

 

pbxi included

 

https://drive.google.com/open?id=1j155TBhCvAw6cEBE8TFGcsR5jQS5D0TB

 

 

Thx for your time and help.

Regrads.

5 REPLIES 5
Johannesvd
Helper I
Helper I

Hi @Anonymous,

 

im not exactly sure what you want to accomplish but if i interpret the data correctly try to change the measures to:

 

Total User USERELATIONSHIP = CALCULATE([Total User];USERELATIONSHIP(Users[Date];'Calendar'[Date]))

 

User with Shopping COMPLETE = CALCULATE(DISTINCTCOUNT(Shopping[id_user]);USERELATIONSHIP(Shopping[date shopping];'Calendar'[Date]))

 

and change the datakey relations to date

 

 

 

 

 

 

Ashish_Mathur
Super User
Super User

Hi,

 

What is the problem?  In the graph, you are getting month wise users.  What result are you expecting?


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

@Ashish_Mathur My problem is:

 

Error Formula.PNG

 

Any idea?? Thx

Hi,

 

I still do not undestand.  Share your file and show your expected result there.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi, thx for interesting im my problem. I want The same value shown on the card is the same as that shown on the graph. That is to say that sum bar to bar gives me the same value as in the card.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.