Power BI Slicer with 'OR' not 'AND' - powerbi

I am trying to get an output where my slicers are ration and hours.
Now, by default, my output is with AND but I want to get my output with OR.
Could you please help me?
Thanks.

Related

Power Bi DAX - sum with filters

I am a Power Bi beginner, trying to solve the following issue.
I have got the following table:
enter image description here
I would like to get this result :
enter image description here
Basically the new measure should show sums for each project forecast.
Any help will be appreciated.
To get the final table you have to choose Table on Visualizations and organize columns in this way (see the screenshot). Then right click on Forecast in Values and check Don't summarize.
If it doesn't help, please check the data types.

My DAX Measure for Custom Conditional Formatting In Power BI is not clickable

Please I need help with my Power BI custom conditional formatting. I created a DAX measure to help me color names of employees that are found in more than one team in day in Power Bi Matrix.
I tried applying the measure in conditional formatting but the measure is grayed out and not clickable. the image is attached below
The measures for formatting
The DAX measure is below.
Technician Grouping = IF(SELECTEDVALUE('Technicians Name'[Names]) IN
ALLSELECTED('view_register_teams'[team_number]), "#500805")
Thank you.
In the image you have posted, use the "Rules" option in place of "Field Value"

Division in PowerBI

So my question is, how can divide figures in one column to a specific "cell". I am sure that there is a dax formula that can do this just not sure which. Please help.
Thanks.
Here are some articles describing how to calculate subtotals values with DAX in PBI.
https://powerpivotpro.com/2013/07/writing-a-subtotal-calc-column-aka-the-simplest-use-of-the-earlier-function/
https://powerpivotpro.com/2012/03/subtotals-and-grand-totals-that-add-up-correctly/

How to change dataype of calculated column number to text in power BI

I have a power bi report with live connection to the SSAS cube. I have a numeric column which I wanted to convert to text using DAX, since its a live-conection i cannot change this on power bi end. is there a way ?
You can use the format function in dax,
For example you can add a new column as the following example:
New_Column = FORMAT(Table1[NumericColumn];"General Number")
Get this example from the source in Pre-Defined Numeric Formats for the FORMAT Function
Hope this can help you!

POWER BI - GROUPBY() and SUMX()

Hello everyone I can't get why my measure or column (tried with both) doesn't work. I am beginner in Power BI (Advanced in TIBCO spotfire)
Mesure 1 = GROUPBY(VUE_TACHES;VUE_TACHES[PREF];VUE_TACHES[ACTIVITE];"group_by_gsp_activite";SUMX(CURRENTGROUP();VUE_TACHES[REEST]))
It's telling me that multiples colonnes can't be change in scalar value. Does someone have a clue? I looked on the internet and tried different formula but i couldn't do it.
I believe the answer is that you need to create a new table, instead of trying to add a column or measure.
Try this. Click on the "Modeling" tab and then on "New Table".
Then enter your code in the formula bar:
Table = GROUPBY(VUE_TACHES,VUE_TACHES[PREF],VUE_TACHES[ACTIVITE],"group_by_gsp_activite",SUMX(CURRENTGROUP(),VUE_TACHES[REEST]))
You should see this result: