"tutorials"
3 TopicsPassing filters values from power bi report to report builder
Hi community, I'm actually working in report builder, so I have the requeriment to pass select values from power bi report to report builder. In the report: I have country and city slicer (multivalues with all selected) meanwhile in the report builder I have the same filters; so my user select US and MX (country) and LA and CMDX (cities) the url is something as: https://app.powerbi.com/groups/me/rdlreports/xxxxxxx-abc7-40f0-b456-febzf9cdda4d?rp:Country=US&rp:Country=MX&rp:City=LA&rp:City=CDMX so I have two questions: 1.- Selected multiples values the url is coming too long... so is this possible to pass as "value,value" ? https://app.powerbi.com/groups/me/rdlreports/xxxxxxx-abc7-40f0-b456-febzf9cdda4d?rp:Country=US,MX&rp:City=LA,CDMX 2.- When I select all values, is there any way to pass "All" word instead of one by one. https://app.powerbi.com/groups/me/rdlreports/xxxxxxx-abc7-40f0-b456-febzf9cdda4d?rp:Country=ALL&rp:City=ALL thanks in advace.Solved672Views0likes2CommentsDax Formula calculations
Hi I need some help please. My Dax measures counts are not working dependently to one another. i have done a male and female count, but it is only taking to account either male or either female and not giving me a total count. Its as if it has taken the first value in the source whereas I want the total value. Herre are some of my Dax measures that I used: MaleCount = CALCULATE( COUNTROWS(Patients),Patients[Gender] = "Male", FILTER(ALL(Prescriptions),Prescriptions[Therapy] = MAX(Prescriptions[Therapy])), FILTER(ALL(Patients),Patients[Referring Establishment] = MAX(Patients[Referring Establishment]))) FemaleCount = CALCULATE( COUNTROWS(Patients),Patients[Gender] = "Female", FILTER(ALL(Prescriptions),Prescriptions[Therapy] = MAX(Prescriptions[Therapy])), FILTER(ALL(Patients),Patients[Referring Establishment] = MAX(Patients[Referring Establishment]))) Average Age = CALCULATE( AVERAGE(Patients[Age]), FILTER(ALL(Prescriptions),Prescriptions[Therapy] = MAX(Prescriptions[Therapy])), FILTER(ALL(Patients),Patients[Referring Establishment] = MAX(Patients[Referring Establishment]))) Registered = CALCULATE( COUNTROWS(Patients),Therapy[Created On], FILTER(ALL(Prescriptions),Prescriptions[Therapy] = MAX(Prescriptions[Therapy])), FILTER(ALL(Therapy),Therapy[NHS/Hospital] = MAX(Therapy[NHS/Hospital])), FILTER(ALL(Patients),Patients[Referring Establishment] = MAX(Patients[Referring Establishment]))) Thank youSolved1.3KViews0likes1CommentFilter multiple values in a column from filters selected
I have 2 tables. Table A is a dimension table having 2 columns, code and description. There are 8-10 codes in this table along with their descriptions. Code Description 914940002 Some text1 914940004 Some text2 Table B is a fact table having multiple columns, one of which is code. Code column in Table B has rows with in the following format: Code Description 914940002 Some text1 914940002, 914940004 Some text1, Some text2 and so on. I want to filter Table B by Table A such that when I click a Description from Table A (I will be using Table A as a filter slicer), it returns all the rows in Table B that contain that Description (in the above example, both rows will return as they both contain that description). Please explain using Power Query or DAX how I can do thisSolved1.4KViews0likes6Comments