cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TianaFash
Advocate III
Advocate III

Power BI Report for Final Challenge

Hi All,

 

I am stuck with the Power BI report and unsure how to navigate the Dimdate, including connecting it to the Animal table and using the VAR X. I am also unable to filter the dates to connect them with the table.

 

I would appreciate any guidance.

 

@BCBuizer @Corry@AhmedSalih @Rebecca-MSFT 

38 REPLIES 38

Hi @ZeeScience,

 

Have you tried removing the Fiscal Year part and only keeping the month in your rows or using the month from your dimDate table that isn’t part of the hierarchy?

Hi @ZeeScience,

 

I personally feel “In Foster Home” is the only valid parameter that determines the animal is fostered. Claimed for Adoption is different to In Foster Home as these would be different families (people). I am not sure how you account for multiple values in a calculation, below are my DAX formulas that focus on a single choice.

These are the MyMeasure formulas which help with the calculations in your visuals. You will need to adjust the naming to suit your data.
 
Total Animals Rescued = CALCULATE([Total Animals], cr0f4_animals[Shelter Status] = "Adopted")
Total Animals Fostered = CALCULATE([Total Animals], cr0f4_animals[Shelter Status] = "In Foster Home")
Total Animals = COUNTROWS(cr0f4_animals)

Hi @Grkm_A,

 

Your data model looks fine, I think the issue may be in how your visuals are configured.

 

Think about the data you want to display and how you want it to appear. The visual you choose will have different results to another visual type and also the table data you place into those visuals and in what order will play a big role.

 

In your first image you are using the Total Animals calculation as the values. This won’t show month information in your month rows as it’s calculating total animals.

 

Experiment with your table columns in different combinations to see if you can get meaningful data. If this doesn’t work then there may be other underlying issues.

@Corry- Can you please help on the filter logic part ? 
how can we apply the filter for the last 1 month or 3 month for our measure in a same page  and display the animal columns in a table visual ?

Hi @Poovarasan27,

 

I am using a Date Slicer to manipulate the period of time, i.e., last 1 or 3 months. When I make a change in this slicer, it reflects across all my data visualizations.

 

Corry_0-1716504004977.png

 

I am using the 'Date' from my dimDate table in the field property of the slicer.

 

Corry_1-1716504103478.png

 

I have applied this approach to both my reports, one for the last 1 month and the other for the last 3 months.

 

I didn't create any measures (calculated formulas) to achieve this because my dimDate table has a relationship to my animal table data.

@Corry 

 

I figured what happened. It was because the date format had time in it that is why

TianaFash
Advocate III
Advocate III

@Grkm_A ,

 

You can create a relationship between "Date of Birth" on your animal table and the  "Date" on Dimdate. Following this interaction, you will be able to perform some functions on the "Date of Arrival" on your visualization dashboard. If you don't have date of birth in your table, you can edit query and introduce this in your table to enable you manage the relationship. I hope this helps.

@ZeeScience ,

 

Animals "in foster home" are the animals fostered! Others are not fostered but are in the process of being adopted as indicated as "claimed for adoption" or ready for adoption based on passed medical requirements and other factors not indicated in the data.

@Poovarasan27 , please what formula did you use to calculate the Total animals rescued and Total animals fostered. thanks

 

@TianaFash actually all those animals that are a not adopted or in shelter are actually fostered animals because they have a foster ID associated with them. Fostered means they are not in the shelter anymore meaning they have been fostered and taken to a foster home. An animal with status claimed for adoption is a fostered animal waiting to be adopted, an animal with status ready for adoption is an animal in a foster home waiting to be adopted. If you only say animals with status "In Foster" are the only fostered animals then what happens to animals who just left the shelter and have their status as Claimed for Adoption, Ready for Adoption where do they fall under?

Helpful resources

Announcements

Important Update | Power Up Community READ ONLY July 22 – July 28

Dear Community Members, As you may have read, the Power Platform communities are transitioning to a new platform and to access will be set to READ-ONLY mode during the transition. Key DatesTo ensure current learners have adequate support in the final week of the cohort, the Power Up Program Community will transition to READ-ONLY mode starting July 22nd, the platform will transition to READ-ONLY mode until July 28th. Power Apps, Power Automate, and Power Pages communities will be read-only July 16-22, 2024.During this period, members will not be able to start new threads or Kudo, Comment, or Reply to any posts, but will be able to search and review past threads or solutions. On July 22nd, please be on the lookout for a message sent to the email address registered on your community profile. This email is crucial as it will contain your unique code and link to register for the new platform encompassing all of the communities. Learners will be able to sign in to the new Power Up Program community experience, starting July 29th. If you registered for community using your learnwithpowerup account, you will not receive an email, but should be able to sign in successfully if you are signed in to My hub.  If you need help with your community account, please submit a request at aka.ms/PPCommSupport We appreciate your understanding and cooperation during this transition. Stay tuned for the exciting new features and a seamless community experience ahead! 

Learn what to expect in the Power Up Program

Since its inception in 2022, the Power Up Program has evolved based on feedback from learners and Microsoft Partners and customers. Today's Power Up learners can expect to learn the fundamentals of Microsoft Power Platform in the accelerated seven-week, video-based Power Up Maker course.   Hear from Principal Program Manager, Dimpi Gandhi to discover the latest enhancements and meet the Microsoft MVPs, Rory Neary and Charlie Phipps, who partnered with the Microsoft Power Up Program to create the Power Up Maker course to guide learners to use the Microsoft Power Platform to develop custom applications, build dazzling report dashboards, or create efficiencies through automation.  

Welcome to the Power Up Program Community

The Power Up Program is a free upskilling program where nontechnical people can learn the fundamentals of Microsoft Power Platform. The Power Up Maker course is a seven-week self-paced virtual learning plan that include video-based objectives featuring Power Apps, Power BI and Power Automate.  As a member of the Power Up Community, you can grow your skills and build connections. You can post questions to get help with the curriculum and hands-on exercises from experts and peers in the product boards.  Check out the Community Information & Feedback board to find help or provide feedback with the community experience, and please take time to post in the Social board to tell us more about yourself. If you're new to the Power Up Program and looking for information to register. You can sign up at PowerUp.Microsoft.com.

Users online (1,281)